Maths

Ratio Calculator

Simplify a ratio to lowest terms, or solve A : B = C : x to scale it.

By Nitin Raturi · Last reviewed

Your ratio

How to use the Ratio Calculator

Simplify a ratio or scale it to a new size.

  1. Choose Simplify or Solve.
  2. Enter the two terms of the ratio, A and B.
  3. In solve mode, enter the new first term C.
  4. Read the simplest form, the decimal and, in solve mode, x.

Good to know

  • Both terms need the same unit.
  • Screen sizes and recipes scale the same way.
Find

Find

Whether to simplify a ratio or find the missing term of a proportion.

How to fill it in

  • Simplify: A : B in lowest whole numbers.
  • Solve: x in A : B = C : x.

A (first term)

The first number of the ratio.

How to fill it in

  • Enter a positive number, with up to six decimal places.

Example

1920 : 1080 simplifies to 16 : 9.

B (second term)

The second number of the ratio.

How to fill it in

  • Use the same unit as A.

Example

Decimals work too: 1.5 : 2.25 is 2 : 3.

Simplest form

16 : 9

1,920 : 1,080 in lowest whole numbers is 16 : 9.

A ÷ B
1.777778
As 1 : n
1 : 0.5625
A’s share of the total
64.00%

Decimals are scaled to whole numbers, then divided by their highest common factor.

How this calculator works

  1. Step 1Whole numbers1.5 : 2.25 → 150 : 225Decimals are scaled by a power of ten.
  2. Step 2Common factorHCFFind the largest number dividing both.
  3. Step 3Divide2 : 3Divide both terms by it.

A ratio compares two amounts of the same kind. Dividing both terms by the same number keeps the ratio unchanged, so the calculator divides by the largest one possible.

Worked example: a Full HD screen

1920 : 1080 in lowest terms
Simplify
A ÷ HCF : B ÷ HCF
  1. Ratio1920 : 1080
  2. HCFlargest common factor120
  3. Simplest form1920 ÷ 120 : 1080 ÷ 12016 : 9

That is the 16 : 9 shape used by most screens and videos. As a decimal it is 1.777778.

Solving a proportion

  • Resize a video1280 × 7201920 : 1080 = 1280 : x keeps the 16 : 9 shape.
  • Scale a recipe7.5 cupsRice to water 2 : 3, for 5 cups of rice.

To solve A : B = C : x, multiply B by C and divide by A.

Assumptions and limits

  • Positive termsFrom 0.000001 to 1,00,00,00,000.
  • Six decimalsTerms with more decimal places are rejected.
  • Same unitsConvert both terms to one unit first.
  • Two termsThree-part ratios are not supported.

Ratios, fractions and percentages are three ways to compare parts.

To work with the same parts as fractions, use the fraction calculator. For screen and image proportions, try the aspect ratio calculator, and for common factors, the LCM and HCF calculator.

Common mistakes

  • Mistake: Comparing 1 m with 50 cm as 1 : 50.

    Instead: Use one unit: 100 cm : 50 cm = 2 : 1.

  • Mistake: Swapping the terms.

    Instead: Keep the order: rice : water is not water : rice.

  • Mistake: Adding to both terms to scale.

    Instead: Multiply or divide both terms.

Checking the method

A separate script re-works every golden value with Python's exact fractions.

Read how we test our calculators, or browse more maths calculators.

Frequently asked questions

What is 1920 : 1080 in simplest form?

16 : 9, found by dividing both by their highest common factor.

How do I simplify a ratio with decimals?

Multiply both terms by a power of ten to make them whole, then simplify: 1.5 : 2.25 is 2 : 3.

How do I solve A : B = C : x?

Multiply B by C and divide by A. For 1920 : 1080 = 1280 : x, x is 720.

How much water for 5 cups of rice at 2 : 3?

7.5 cups: 3 × 5 ÷ 2.

Do both terms need the same unit?

Yes. Convert them to one unit first, or the ratio is meaningless.

Sources and methodology

The formulas are standard time-value-of-money results. We check every figure against golden values worked out independently, by closed form and by month-by-month simulation; see the methodology.

Written and maintained by Nitin Raturi, a software engineer (about the author). Last reviewed 4 Nov 2026; next review due by . Found an error? Tell us.

Changelog

  • : Initial release.