Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

The verdict is
YES
Random decision
Random roll (0–1) 0.2917
Yes threshold 0.5

What is the Yes or No Generator?

The Yes or No Generator is a simple random decision maker. When you can't make up your mind, type your question, hit calculate, and let probability give you a clear answer: Yes or No. It is perfect for breaking ties, settling debates, or just having fun.

How to use it

Optionally type the question you're pondering — it will be echoed under the verdict. Then set the "Chance of Yes" slider value between 0 and 100. A value of 50 makes Yes and No equally likely (a fair coin flip). Set it higher to favour Yes, or lower to favour No. Each time you submit, a fresh random number is drawn so you may get a different answer.

The formula explained

The tool draws a uniform random number \(r\) between 0 and 1. Your chosen "Chance of Yes" percentage is converted to a probability \(p = \text{weight} \div 100\). If \(r < p\) the result is Yes; otherwise it is No. With the default weight of 50, \(p = 0.5\), so any roll below 0.5 is Yes and any roll of 0.5 or above is No — a perfectly balanced coin toss.

$$\text{Answer} = \begin{cases} \text{Yes} & \text{if } r < \dfrac{\text{Chance of Yes (\%)}}{100} \\[1em] \text{No} & \text{otherwise} \end{cases} \qquad r \sim U(0,1)$$
Advertisement
Horizontal probability bar split into a Yes region and a No region with a marker at the threshold p
The random number r lands on a 0-to-1 bar; below the threshold p gives Yes, above gives No.

Worked example

Suppose you set the chance of Yes to 70%. Then \(p = 0.70\). If the random roll comes out as 0.42, since \(0.42 < 0.70\) the answer is Yes. If instead the roll were 0.88, since \(0.88 \geq 0.70\) the answer would be No. Over many runs roughly 70% of answers will be Yes.

Two-outcome decision split showing a question leading to Yes or No branches
Each spin sends the question down one of two branches, weighted by the odds you set.

FAQ

Is it truly random? It uses your device's pseudo-random number generator, which is more than random enough for everyday decisions and games.

Why do I get a different answer each time? A new random number is generated on every submission, so repeating the question can flip the result — just like flipping a coin again.

Can I make it always say Yes? Yes — set the chance of Yes to 100, and the generator will always return Yes (0 always returns No).

Last updated: