Skip to content

Flip a Coin

Flip a coin online with a realistic silver coin animation. Tap anywhere for an instant Heads or Tails result, press Space or Enter on a keyboard, mute the sound, or open fullscreen. If you need more than one flip, Settings lets you run up to 1,000 flips at once, assign your own choices to Heads and Tails, and keep track of results during the current session.

Tap the coin to flip.

How to Flip the Coin

For a normal coin flip, just tap or click anywhere inside the coin area. The silver coin rises, rotates several times, and lands on either Heads or Tails.

On a keyboard, press Space or Enter while focus is outside another button, link, or form control. Standard mode is the default, so no setup is required for a quick one-flip decision.

Use the sound control to mute or restore the recorded coin-flip effect, and use fullscreen when the result needs to be visible across a table, classroom, meeting room, presentation, or shared display.

Open Settings only when you want multiple flips, custom Heads/Tails choices, or optional session statistics. Applying one of those options changes the main coin area; the Settings panel itself is only for configuration.

How the Virtual Coin Chooses a Result

The tool generates results in your browser using Crypto.getRandomValues(), which supplies cryptographically strong pseudorandom values.

For each flip, one random byte is generated and one bit is read from that byte. One bit value maps to Heads and the other maps to Tails, so the two outcomes are evenly mapped.

A single flip is selected before its animation starts. The spinning coin reveals the result but does not determine it. Multiple-flip mode uses the same result-generation method for every flip in the requested batch.

Earlier results are not used to choose the next side. Click position, click timing, animation speed, sound, fullscreen mode, custom labels, and session statistics cannot influence the selected outcome.

What Are Heads and Tails?

In everyday English, the two faces of a coin are commonly called Heads and Tails.

The formal term for the front or Heads side is the obverse. The back or Tails side is called the reverse.

A coin does not need to show a literal head or tail. The familiar names are convenient labels for distinguishing its two faces.

This virtual coin uses a large engraved H or T together with repeated Heads or Tails labels, making the result clear without copying the design of a particular currency.

The outer surface around a coin is its edge. A real edge may be plain, lettered, or marked with grooves known as reeding.

Ways to Use a Coin Flip

Choose between two acceptable options. Use Custom Choices to label Heads and Tails with the two options, or simply assign them mentally before flipping.

Decide who starts. Give each player or team one side and let the visible result determine the first turn.

Break an informal tie. Use the coin when everyone involved agrees that either outcome is acceptable.

Play Heads or Tails. Call a side before starting the flip and check whether your prediction matches the result.

Make a low-stakes yes-or-no choice. Set Heads to Yes and Tails to No, or reverse the assignment.

Run repeated trials. Multiple-flip mode can generate 1 to 1,000 independent results at once and report the observed Heads/Tails split.

Teach probability. Use repeated flips and optional session statistics to compare observed results with the theoretical 50–50 model.

Multiple Coin Flips and Session Statistics

Choose Multiple flips in Settings when you need more than one result. Enter any whole number from 1 to 1,000, apply the setting, then run that batch from the main tool. The result reports the number and percentage of Heads and Tails immediately.

Batch mode does not animate hundreds of separate coins. It generates the requested independent results in the browser, totals them, and updates the interface once, which keeps large batches practical without changing the probability model.

Session statistics are optional. When enabled, they combine Standard, Custom, and Multiple results into temporary Heads/Tails totals with a compact recent-results history. Reset clears those session totals; refreshing or closing the page clears the session automatically.

Custom Heads and Tails Choices

Custom Choices lets you attach two labels to the normal Heads and Tails outcomes—for example, Pizza and Burgers, Yes and No, or two player names. The coin itself remains the same H/T coin so the random mechanism and visual result stay clear.

Custom labels do not change the odds. A Heads result still has the same theoretical probability as Tails; the selected side is simply mapped to the label you assigned to it.

Custom choices are kept only for the current page session. Use them for reversible, low-stakes two-way decisions where either option is acceptable.

Coin Flip Probability Explained

For an ideal fair virtual coin, Heads and Tails each have a probability of 1 out of 2, or 50%, on every flip.

Each flip is independent. The tool generates a new random result without using earlier outcomes, whether you flip once or generate a batch.

Equal probability does not mean that results must alternate or that a short series must contain equal totals. Seven Heads and three Tails in ten flips is entirely possible.

A 50–50 model describes the probability of each individual flip, not a requirement for every small sample. Multiple-flip mode makes it easy to compare short runs with larger samples such as 100 or 1,000 flips.

As the number of independent flips becomes large, the observed proportion of each side will often move closer to one half, but perfectly equal totals are never guaranteed.

Possible Sequences from Repeated Flips

Each additional flip doubles the number of possible ordered sequences. One flip has two possible sequences, two flips have four, and ten flips have 1,024.

A specific sequence means one exact ordered result, such as Heads–Tails–Heads. Changing the order produces a different sequence.

Every exact sequence of the same length has the same theoretical probability under the ideal independent model.

For example, ten Heads in a row and the specific sequence Heads–Tails–Heads–Tails–Heads–Tails–Heads–Tails–Heads–Tails each have a probability of 1 out of 1,024.

Possible sequences by number of coin flips

The table assumes independent flips of an ideal fair coin. The probability shown is for one specified ordered sequence.

Possible sequences by number of coin flips
FlipsPossible sequencesSpecific sequence probabilityPercentage
121/250%
241/425%
381/812.5%
4161/166.25%
5321/323.125%
6641/641.5625%
71281/1280.7813%
82561/2560.3906%
95121/5120.1953%
101,0241/1,0240.0977%

Swipe horizontally to view the full table.

Number of Heads in 10 Flips

There are 1,024 possible ordered result sequences across ten independent coin flips.

Exactly five Heads is the most likely individual Heads count because more sequences contain five Heads and five Tails than any other split.

Getting no Heads and getting ten Heads are both possible, but each outcome count can occur through only one exact sequence.

The table groups together all sequences that contain the same number of Heads, regardless of their order.

Probability of each Heads count in 10 flips

Ten independent fair flips produce 1,024 equally likely ordered sequences.

Probability of each Heads count in 10 flips
Number of HeadsMatching sequencesProbabilityPercentage
011/1,0240.0977%
11010/1,0240.9766%
24545/1,0244.3945%
3120120/1,02411.7188%
4210210/1,02420.5078%
5252252/1,02424.6094%
6210210/1,02420.5078%
7120120/1,02411.7188%
84545/1,0244.3945%
91010/1,0240.9766%
1011/1,0240.0977%

Swipe horizontally to view the full table.

Why Random Streaks Happen

Random results do not need to alternate. Sequences such as Heads, Heads, Heads or Tails, Tails, Tails can occur naturally.

After five Heads in a row, the next independent virtual flip still has a 50% probability of Heads and a 50% probability of Tails.

Believing that Tails must become more likely because Heads appeared repeatedly is known as the gambler's fallacy.

A streak may feel unusual, but unusual-looking patterns are part of random data. The appearance of a pattern does not mean that earlier flips are controlling the next result.

Virtual Coin Flips and Physical Coin Tosses

This tool uses an ideal digital model with two evenly mapped outcomes. It does not calculate the trajectory of a physical coin.

A physical toss is affected by the starting orientation, launch technique, rotation, air movement, landing surface, bouncing, coin shape, and weight distribution.

A large study of human coin tossing reported a small tendency for physical coins to land on the same side from which they started. The study did not find an overall preference for Heads over Tails when the starting side was randomised.

That physical same-side effect does not apply to this virtual coin because the software does not launch a simulated object from an initial face. It directly selects one of two evenly mapped digital outcomes.

A physical coin may still be preferable when handling and tossing the object is part of a game. A virtual coin is useful when no physical coin is available or the result needs to be visible on a shared screen.

A Short History of Coin Flipping

There is no known record of the first person to make a decision by tossing a coin.

The practice dates back at least to the Roman Empire. The United States Mint describes an early form as Heads or Ships, reflecting designs that showed a head on one face and a ship on the other.

Coin tossing survived because it is quick, visible, portable, and easy for participants to understand.

Today, coin tosses continue to be used in games, sports, probability lessons, informal tie-breaking, and everyday decisions.

Famous Decisions Made by Coin Toss

The naming of Portland. Francis Pettygrove and Asa Lovejoy used a coin toss to choose a name for the town they were developing. Pettygrove won, and the city became Portland rather than Boston.

The Wright brothers' first attempt. Wilbur Wright won a coin toss on December 14, 1903, for the first attempt to fly their powered aircraft. His attempt was unsuccessful. After repairs, Orville completed the first successful powered flight on December 17.

These stories are memorable because the coin selected who acted first or which acceptable proposal was used. It did not determine whether the later project would succeed.

Coin Tosses in Sport

Coin tosses are used in several sports because they provide a quick and clearly understood way to allocate an initial choice.

Under the current Laws of the Game for association football, the referee tosses a coin before kick-off. The winning team chooses either which goal to attack in the first half or whether to take the kick-off.

Other sports and competitions may use different procedures, so the relevant rules should be checked when the toss affects official play.

This virtual tool is useful for informal games and demonstrations but is not a replacement for any officially required procedure, designated match coin, or competition rule.

A Coin Flip Can Reveal Your Preference

Sometimes your reaction to the result is more informative than the random result itself.

If the coin lands on Tails and you immediately wish it had landed on Heads, you may already prefer the option assigned to Heads.

For a personal, reversible, and low-stakes choice, the flip can expose which result you were hoping to see.

You are not required to follow the result. The coin provides a random selection, not advice or judgement.

Privacy and Appropriate Use

Single results, multiple-flip batches, custom labels, and optional session statistics are handled in the browser. The tool does not require an account or send those coin results or labels to a server for processing.

Session totals and recent results exist only in page memory. Refreshing or closing the page clears them, and custom mode settings also return to their defaults on a new page load.

Use the coin only when both possible outcomes are genuinely acceptable.

Do not use a coin flip to decide medical treatment, personal safety, consent, legal rights, major financial commitments, or other high-stakes matters.

This tool is not an independently audited system for gambling, prize allocation, lotteries, legal selection, or security-sensitive decisions.

Coin Flip Probability

These formulas assume independent flips of an ideal fair coin with two equally likely outcomes.

Formula variables

The total number of independent coin flips
The exact number of Heads being calculated
The number of Heads observed
The number of possible ordered result sequences
The expected long-run number of Heads
Probability of either side
Number of ordered sequences
Probability of one specified sequence
Exactly k Heads in n flips
Expected number of Heads
At least one Heads

Examples

Choose between two activities

1

Input

Open Settings, choose Custom Choices, set Heads to Watching a film and Tails to Playing a game, then Apply.

Show result

Result

Flip the normal animated coin once. The winning side is shown together with the activity mapped to that side.

Choose who starts

2

Input

Player one chooses Heads and player two receives Tails.

Show result

Result

The player whose side appears takes the first turn.

Make a yes-or-no choice

3

Input

Choose Custom Choices, set Heads to Yes and Tails to No, then apply the setting.

Show result

Result

The normal coin still lands on Heads or Tails, and the main interface shows the matching Yes or No label.

Use this only when either answer is acceptable and the decision is low stakes.

Run a classroom probability experiment

4

Input

Choose Multiple flips, enter 50 or 100, apply the setting, then run the batch from the main tool.

Show result

Result

Compare the reported Heads and Tails percentages with the theoretical 50% probability for each side.

The observed percentages will not usually be exactly 50%, especially in a small sample.

Investigate random streaks

5

Input

Flip repeatedly and record the longest uninterrupted sequence of one side.

Show result

Result

The results demonstrate that independent random flips can naturally produce repeated Heads or repeated Tails.

Use the coin on a shared display

6

Input

Open fullscreen mode before making a group decision or starting a classroom activity.

Show result

Result

The animated coin fills a clean display area and remains visible on the final result.

Frequently Asked Questions

Is this online coin flip fair?

The tool maps the two possible values of one random bit evenly to Heads and Tails. Each side therefore has the same theoretical probability on every flip.

Does the coin flipper use true randomness?

It uses cryptographically strong pseudorandom values supplied by the browser's Crypto.getRandomValues() API. The tool does not claim to measure an external physical source of true randomness.

Does the animation determine the result?

No. The result is selected before the animation starts. The spinning silver coin only reveals the predetermined side.

Can clicking at a certain time change the result?

No. Click position, timing, animation speed, sound, fullscreen mode, custom labels, and session statistics do not influence the random selection.

Can I flip a coin 100 times at once?

Yes. Open Settings, choose Multiple flips, enter 100, and Apply. Run the batch from the main tool to generate 100 independent results and see the Heads/Tails counts and percentages. Multiple mode accepts any whole number from 1 to 1,000.

Can I use custom Heads and Tails choices?

Yes. Custom Choices lets you assign one label to Heads and another to Tails, such as Yes and No or Pizza and Burgers. The coin still generates an ordinary Heads or Tails result with the same 50–50 mapping, then shows the label attached to that side.

What is the probability of Heads?

Heads has a probability of 1/2, or 50%, on each independent virtual flip. Tails has the same probability.

Do previous coin flips affect the next result?

No. Each virtual flip is independent. Earlier Heads or Tails results are not used when generating the next side.

Why did I get several Heads in a row?

Random sequences naturally contain repetitions and streaks. Equal probability does not require Heads and Tails to alternate.

Are Tails more likely after several Heads?

No. After any sequence of previous independent results, the next flip still has a theoretical 50% probability for each side.

What is the probability of five Heads in a row?

One specified side appearing five times consecutively has a probability of 1/32, which is 3.125%.

What is the probability of ten Heads in a row?

Ten Heads in a row has a probability of 1/1,024, which is approximately 0.0977%. Ten Tails in a row has the same probability.

Can the virtual coin land on its edge?

No. This tool has exactly two possible results: Heads and Tails.

What do obverse and reverse mean?

Obverse is the formal term for the front or Heads side of a coin. Reverse is the formal term for the back or Tails side.

Can I turn off the coin-flip sound?

Yes. Use the sound control in the upper-right corner of the coin area.

Can I flip the coin in fullscreen mode?

Yes. Select the fullscreen control to expand the coin area across the available display. Support depends on the browser and device.

Can I flip the coin using the keyboard?

Yes. In Standard or Custom mode, press Space or Enter when focus is outside another button, link, or form control. Multiple-flip batches use their main Flip button instead.

Are my coin-flip results saved?

Not permanently. If you enable session statistics, the current page can show temporary totals and recent Heads/Tails results. They stay in page memory only and disappear when you refresh or close the page.

Is a virtual coin the same as tossing a physical coin?

No. This virtual coin selects between two evenly mapped digital outcomes. A physical toss is affected by movement, starting orientation, technique, the coin, and the landing surface.

Should I use a coin flip for an important decision?

Only use it when either possible outcome is acceptable and the decision is low stakes.