Ratio Calculator

Simplify any ratio to its smallest whole terms and solve the missing fourth value in a proportion (A : B = C : X).

Calculators 100% in your browser
Simplified ratio
2 : 3
Both parts divided by their greatest common divisor. As a decimal: 0.666667 — as a percentage: A is 66.666667% of B.
Missing value X
15
X = B × C ÷ A — cross-multiplication keeps the proportion exact.

How to use

  1. Enter the two ratio parts (decimals allowed).
  2. Read the simplified ratio, decimal and percentage view.
  3. Enter a known value C to solve the missing value X in the proportion.

Example

Input: 4 : 6 · if 4 : 6 = 10 : X

Output: Simplified 2 : 3 · X = 15

How it works

A ratio is simplified by dividing both sides by their greatest common divisor. Scaling multiplies both sides by the same factor, which keeps the ratio unchanged.

Limits & compatibility

  • Both ratio parts must be positive; X is solved for C ≥ 0.
  • Decimals are scaled to integers before the GCD, so results stay exact.
  • Percentages are 'A as a share of B', not part-to-whole.

Privacy

All calculations run locally in your browser. Nothing is transmitted to a server, and no values are stored.

Related tools

FAQ

Questions about Ratio Calculator

Is my input private?

Yes. This tool runs entirely in your browser — your input never leaves your device, is never uploaded to a server and is never stored.

How accurate is the result, and what are the limits?

The tool page states its formula and limits openly. Check them before relying on a result, and verify anything consequential — financial, legal, medical or safety-critical — against an authoritative source.

What happens to files I open with this tool?

Files are processed locally in your browser and never uploaded; closing the tab discards them. Text tools never store what you paste — it lives only in the page while you use it.