Skip to main content
ToolsHub

Ratio Calculator

Enter a ratio to simplify it, scale it, or solve A:B = C:D for the unknown term — all calculated instantly in your browser.

Files never leave your browser
:

How to use Ratio Calculator

The ratio calculator provides three modes in one tool: simplify a ratio to its lowest terms using the greatest common divisor; scale a ratio by any multiplier; and solve A:B = C:D for any missing term by cross-multiplication. Results are shown instantly with the simplified or scaled ratio or the solved unknown value. Useful for recipes, mixing solutions, map scales, aspect ratios, financial comparisons, and unit conversions.

  1. Select the mode: Simplify, Scale, or Solve A:B = C:?
  2. In Simplify mode, enter the two ratio values A and B.
  3. In Scale mode, enter A, B, and the multiplier to produce a scaled version of the ratio.
  4. In Solve mode, enter three of the four values (A, B, C, D) and leave the unknown blank.

Your data never leaves your device — 100% private processing.

How ratio simplification works

A ratio A:B is simplified by dividing both terms by their greatest common divisor (GCD). The GCD is computed using the Euclidean algorithm: repeatedly replace the larger number with the remainder of dividing the larger by the smaller until the remainder is zero. For example, GCD(12, 8): 12 mod 8 = 4, 8 mod 4 = 0 → GCD = 4. So 12:8 = (12÷4):(8÷4) = 3:2. A simplified ratio has no common factors other than 1.

Ratio simplification examples
Original ratioGCDSimplified
10:1552:3
12:843:2
100:25254:1
7:317:3 (already simplified)
360:2401203:2

Solving for missing ratio terms

When A:B = C:D, the cross-multiplication rule states A×D = B×C (the product of the means equals the product of the extremes). Given any three values, the fourth is solved by rearranging: D = (B×C)/A; C = (A×D)/B; B = (A×D)/C; A = (B×C)/D. This is used in scaling recipes (if 2 cups flour to 3 cups water makes 1 loaf, how much water for 5 cups flour?), currency conversion, and map scale calculations.

Glossary

Ratio
A comparison of two quantities expressed as A:B or A/B, indicating how many times one contains the other.
Greatest Common Divisor (GCD)
The largest positive integer that divides both numbers without a remainder; used to simplify ratios.
Cross-multiplication
Multiplying the numerator of one fraction by the denominator of the other to solve proportions: if A/B = C/D then A×D = B×C.
Aspect ratio
The ratio of width to height of an image or screen, e.g. 16:9 for widescreen HD displays.

Related reading

Frequently Asked Questions

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Why use Ratio Calculator?

  • Step-by-step explanations alongside every calculation
  • Printable or shareable result summaries
  • Works entirely offline in your browser
  • Built-in input validation prevents common mistakes

Common use cases

  • Calculate loan repayments before applying
  • Check compound interest on savings accounts
  • Estimate tax owed before filing
  • Work out break-even point for a new business
  • Plan retirement savings contributions

Related Calculators

Explore all Calculators.