Skip to main content

Roblox Conversion Formula

This is for streamers who sell Roblox diamonds. Instead of working out by hand how many diamonds a gift of so many coins is worth, you write the rule once and IndoFinity does the math.

Before you start​

This feature is locked by default

The Formula card says "( This feature is locked, click to unlock )". According to the dashboard, this automatic diamond calculation is free when you join IndoFinity Agency. Click the card for the full details.

How to write a formula​

A formula is a list of coin=amount pairs separated by commas.

1=400k,5=2m,10=4m,50=20m

This reads: a 1-coin gift is worth 400,000 diamonds · 5 coins is worth 2 million · 10 coins is worth 4 million · 50 coins is worth 20 million.

That is also the default formula, so you can use it as is if the numbers happen to fit.

Writing rules​

RuleCorrectWrong
Format coin=amount10=4m10:4m
Units k, m, b, t (optional)5=2m, 5=20000005=2jt
Separate with commas1=400k,5=2m1=400k 5=2m
Whole numbers, no decimals1=400k1.5=400k

If the format is wrong, the dashboard shows: "Invalid format. Use the format "coin=amount" with the amount followed by k, m, b, or t (optional), separated by commas."

How IndoFinity calculates it​

This is the part people misread most often.

The calculation is tiered and greedy. The system uses the largest tier that still fits, over and over, until the remaining coins aren't enough, and only then moves down to the next tier.

Example with the default formula 1=400k,5=2m,10=4m,50=20m for a gift worth 57 coins:

StepTier usedCoins leftDiamonds so far
150 coins → 20m720,000,000
210 coins, doesn't fit (7 left)720,000,000
35 coins → 2m222,000,000
41 coin → 400k122,400,000
51 coin → 400k022,800,000

Final result: 22.8m.

Leftover coins that no tier covers are lost

The calculation stops when the remaining coins are fewer than your smallest tier. The formula 5=2m,10=4m on a 7-coin gift produces only one 5-coin tier. The other 2 coins are thrown away because no tier fits them.

If you don't want anything lost, always include a 1= tier.

0= tiers are ignored

The system skips any tier with 0 coins. This is on purpose: without it, the calculation would never stop.

Using the result​

Select a gifter in the ranking list and the converted amount appears. The Copy converted amount button copies the number, so you can paste it wherever you process orders.

Common problems​

Symptom: the result is lower than expected. Leftover coins that don't fit any tier aren't counted. Add a 1= tier so every coin gets used.

Symptom: the formula won't save. One of the pairs has the wrong format. Check the writing rules table above. The most common causes are an accidental space after a comma, or a unit other than k, m, b, t.

Symptom: you can't type in the formula card. The feature is still locked. See the Before you start section.

See also​