Coin Flip Simulator
Flip a fair coin up to 10,000 times from a seed, with counts, percentages and the longest streak.
What the page computes
Simulates up to ten thousand fair coin flips from a seed and reports the head and tail counts, the longest run and the first twenty flips.
What it does not do
The stream is xorshift32, not a physical coin: it is reproducible and not cryptographic, and it models no bias. The flip count must be between 1 and 10000 and the seed must be non-empty.
Why a reload prints the same answer
Everything runs in this tab with JavaScript: no request is made, no account is needed and nothing is stored, so the same inputs print the same lines after a reload, and the same seed prints the same draw.
Simulates up to ten thousand fair coin flips from a seed and reports the head and tail counts, the longest run and the first twenty flips.
How to use it
Type a seed and the number of flips, then press Run. The first twenty faces and the full counts are printed together.
The arithmetic
A flip is heads when the seeded draw is below 0.5, which is the exact fair-coin split. Counts are integers and each percentage is its count over the flip total.
What to Expect
Best for
- game masters settling a coin toss at the table
- a quick check before or during a session
What this tool keeps
- Runs entirely in this browser tab, with no upload.
- The seed is echoed, so a table can re-run the same draw later.
Frequently asked questions
How do I use the Coin Flip Simulator?
Type a seed and the number of flips, then press Run. The first twenty faces and the full counts are printed together. The printed lines replace the previous answer.
Is anything uploaded?
No. The arithmetic runs in this tab with JavaScript: no request is made, no account is needed and nothing is stored, so the page keeps working offline once loaded.
What are its limits?
The stream is xorshift32, not a physical coin: it is reproducible and not cryptographic, and it models no bias. The flip count must be between 1 and 10000 and the seed must be non-empty.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.