Ratio Calculator

Simplify a ratio, scale it, and solve for a missing term.

What the Ratio Calculator does

A ratio compares two quantities. Leave C and D blank to simplify A : B. Fill in three of the four boxes and the calculator solves the proportion for the missing term by cross-multiplication.

Formula

  • A : B = C : D → A × D = B × C
  • Simplify by dividing both terms by their GCD

Inputs explained

InputUnitRequiredNotes
AnumberYes
BnumberYes
CnumberOptionalLeave C and D blank to just simplify A : B.
DnumberOptionalLeave one of C or D blank to solve for it.

How to use it

  1. Enter A and B.
  2. Optionally add C and D.
  3. Select Calculate.

Worked example

A map scale is 3 cm : 45 km. How many km does 7 cm represent?

A
3
B
45
C
7
D
(blank)

D = (45 × 7) ÷ 3 = 105 km.

Frequently asked questions

How do I simplify a ratio with decimals?

Multiply both sides by 10 until both terms are whole numbers, then divide by their greatest common divisor.

What is the difference between a ratio and a fraction?

A ratio compares parts to parts (2 : 3 means 2 for every 3). A fraction compares a part to the whole (2/5 of the total).

Related calculators