Skip to content
Allin

Gacha pity calculator

How many pulls until the guaranteed 5★ in a gacha game like Genshin or Star Rail, accounting for the soft-pity ramp. Enter your current pity count and it works out the pulls left to soft pity, the hard-pity guarantee, and the average pulls you can expect before the next drop.

Euler's totient calculator φ(n)Compute Euler's totient φ(n) — the count of integers from 1 to n that are coprime to n (share no factor but 1). It factorises n into primes and applies φ(n) = n·∏(1−1/p) over its distinct prime factors, showing the factorization, the formula and the number of coprimes. φ underlies RSA, Euler's theorem and the order of the multiplicative group mod n.Find minimum and maximumPaste a list of numbers and get the smallest, the largest, the range between them, and how many values there are. Handles negatives and decimals.Sum calculatorAdd up a list of numbers and get the total, count and average.Sum of positive integers calculatorThe sum of all whole numbers from n₁ to n₂ in one step — Gauss's trick, n₂(n₂+1)/2 − (n₁−1)n₁/2, instead of adding them one by one. From 1 to 100 is the classic 5050; works for any range and any size.Amicable Number CheckerCheck whether two numbers are amicable — or give just one and get its candidate partner plus the verified loop, with perfect and sociable numbers identified.Arctan2 Calculator (atan2 of y and x)atan2(y, x) is not atan(y/x): it reads the signs of both arguments to place the angle in the right quadrant over the full −180°…180° turn, and it stays defined when x = 0. Enter x and y, read the angle in degrees or radians, see the quadrant and the point plotted. For a single ratio with no quadrant information, use the arctan calculator instead.Carry and borrow visualizerAdds or subtracts two whole numbers the way it is taught in school — set up in columns, digit by digit — and highlights every carry (addition) or borrow (subtraction) as it happens. A clear way to see the mechanic behind column arithmetic.Ceiling and floor function calculatorThe ceiling ⌈x⌉ rounds up to the next integer, the floor ⌊x⌋ rounds down. Enter any number to get both, plus the ordinary round, the truncation toward zero and the fractional part left over.

The Gacha pity calculator turns Current pity count, Base rate (%), Soft pity starts at, Hard pity (guarantee), Rate increase per pull in soft pity (%) into Pulls to soft pity, Pulls to guarantee (hard pity), Expected pulls to next 5★, instantly and for free. For instance, with Current pity count = 0, Base rate (%) = 0.6, Soft pity starts at = 74, Hard pity (guarantee) = 90 and Rate increase per pull in soft pity (%) = 6 it returns Pulls to soft pity = 74, Pulls to guarantee (hard pity) = 90 and Expected pulls to next 5★ = 62.297.

How to use it

  1. Enter your values: Current pity count, Base rate (%), Soft pity starts at, Hard pity (guarantee), Rate increase per pull in soft pity (%).
  2. Read the result instantly: Pulls to soft pity, Pulls to guarantee (hard pity), Expected pulls to next 5★.

Frequently asked questions

How does the Gacha pity calculator work?

It takes Current pity count, Base rate (%), Soft pity starts at, Hard pity (guarantee) and Rate increase per pull in soft pity (%) and derives Pulls to soft pity, Pulls to guarantee (hard pity) and Expected pulls to next 5★ from them. The calculation is live as you type, so the result updates on every change.

Which values does the calculator ask for?

5 values: Current pity count, Base rate (%), Soft pity starts at, Hard pity (guarantee) and Rate increase per pull in soft pity (%). Nothing else is required — no account, no file upload.

What does a typical calculation look like?

With Current pity count = 0, Base rate (%) = 0.6, Soft pity starts at = 74, Hard pity (guarantee) = 90 and Rate increase per pull in soft pity (%) = 6, the calculator returns Pulls to soft pity = 74, Pulls to guarantee (hard pity) = 90 and Expected pulls to next 5★ = 62.297. Those figures come from running this exact tool, so you can reproduce them by entering the same values.

How much does the result change with different inputs?

It moves a lot. Using Current pity count = 5, Base rate (%) = 0.66, Soft pity starts at = 148, Hard pity (guarantee) = 180 and Rate increase per pull in soft pity (%) = 6.6 instead, Pulls to soft pity goes from 74 to 143 — which is why it is worth testing a few scenarios rather than trusting a single figure.

What does it give for smaller values?

Scaled down to Current pity count = 1, Base rate (%) = 0.54, Soft pity starts at = 37, Hard pity (guarantee) = 45 and Rate increase per pull in soft pity (%) = 5.4, Pulls to soft pity comes out at 36. The relationship is worth checking at both ends before you rely on a single result.

When would I actually use this?

Reading a number written another way: a Roman numeral on a monument, a hexadecimal colour, a binary byte, or a fraction that needs reducing.

What is the most common mistake?

Assuming a decimal fraction survives a change of base. A tenth is exact in decimal and infinitely repeating in binary, which is why 0.1 + 0.2 is not 0.3 in most programming languages.

What is the difference between the Gacha pity calculator and the Euler's totient calculator φ(n)?

This one returns Pulls to soft pity and Pulls to guarantee (hard pity); the Euler's totient calculator φ(n) returns φ(n) and Count of coprimes in 1…n. That is the whole difference — open the one whose figure you need.

Is there a tool for the next step?

Find minimum and maximum is the closest one after this: Paste a list of numbers and get the smallest, the largest, the range between them, and how many values there are. Handles negatives and decimals.

What else is worth having open alongside it?

Sum calculator and Sum of positive integers calculator — they come up in the same task often enough to be worth a second tab.

Further reading

All guides