When players hit a losing streak, they scream that the game is rigged. When they win, they think they cracked the code. This RNG Audit Calculator moves past emotion, running double statistical tests to verify if a casino’s seed stream is truly random (vital to prove if a provably fair game is actually safe).
An online casino can cheat you without making the game look obviously biased. They can ensure that the overall game pays out the exact advertised RTP (e.g. 97%), passing basic regulatory audits, but manipulate the *sequence* of outcomes. They might cluster winning rounds during low wagers and cluster losing rounds the second you scale up your stakes.
To verify real randomness, a stream must pass two distinct hurdles: statistical uniformity (equal distribution of values) and serial independence (no predictable patterns or memory).
Our auditing verifier processes your pasted sequence of floating-point numbers or dice rolls through two rigorous mathematical tests:
The Chi-Square test checks if the outcomes are spread evenly across all possible bins. For example, if you roll a 6-sided die 6,000 times, each face should appear approximately 1,000 times:
χ² = Σ ((Observed_i - Expected_i)^2 / Expected_i)
Where Observed is the actual count in bin i, and Expected is the theoretical count. The calculator converts this χ² statistic into a precise p-value using the Wilson-Hilferty approximation.
A stream can be perfectly uniform but completely predictable. For example, the alternating sequence [1, 6, 1, 6, 1, 6...] is perfectly uniform but is obviously not random. The Runs Test tracks the number of continuous sequences of values above and below the median (known as “runs”) to find serial patterns:
Expected_Runs (μ) = ((2 * N1 * N2) / N) + 1
Standard_Deviation (σ) = √((2*N1*N2 * (2*N1*N2 - N)) / (N^2 * (N - 1)))
Where N1 is the number of values above the median, N2 is the number of values below the median, and N is the total count. The calculator derives the standard normal Z-score:
Z = (Observed_Runs - μ) / σ
A high absolute Z-score indicates that the stream has too few runs (indicating clustering) or too many runs (indicating artificial alternation).
Let’s walk through an actual audit. You extract a history of 500 consecutive crash multipliers from an online casino. You convert them to their raw floating-point seeds (between 0 and 1) and paste them into the auditor:
The Chi-Square test confirms that all decimals between 0 and 1 are evenly represented. However, the negative Z-score of -3.85 reveals a major problem: there are far fewer runs than expected. The winning and losing rounds are heavily clustered together. This is a clear mathematical indicator of a manipulated, non-random stream.
A failed Runs Test means the outcomes are not independent of one another. The game has a memory. If you see a long streak of losses clustered together, or alternating patterns that repeat predictably, the RNG sequence is compromised.
For statistical testing to be mathematically valid, you should paste a sample size of at least 100 consecutive outcomes. Paste 500 or more outcomes to get a highly reliable, high-confidence audit.
It is extremely difficult. If an operator manipulates the outcomes in real time based on player bets, the sequence will almost certainly fail the Wald-Wolfowitz Runs Test. A clean pass across a large sample size is the highest proof of fair play.