How to make bpm meter

hey guys, so i wanna make a bpm meter like osu does.

a simple math, like if you divide 120/60 = 2 | 240/60 = 4 | and so on
the problem is, i want like 60/? = 1 | 120/? = 0.5 | 240/? = 0.3 | and so on

So my problem is, when you have 60bpm you have to dividing it by 60 (because 1 minute equal 60 second). But if you have 120bpm you have 2 second wait because is still dividing it by 60. 240bpm you have 4 seconds wait and so on.

I can’t be too sure, but I think this works:
seconds = (bpm/120)+1

hmm.

a simple math, like if you divide 120/60 = 2 | 240/60 = 4 | and so on
the problem is, i want like 60/? = 1 | 120/? = 0.5 | 240/? = 0.3 | and so on

You can do 1/(120/60) to get 0.5. I think this applies to all of them.

ahhh, sorry im not that good on math lol. Thx