Home / Math Calculators / Ratio Calculator
Math & Proportions

Ratio Calculator

Simplify ratios, scale them up or down, solve a missing value in a proportion, or split a total into proportional parts. View clear results and step-by-step calculations.

✓ Free to use✓ Instant results✓ Mobile friendly
Your calculation

Enter ratio values

Enter two positive numbers. Decimals are supported and converted to a practical simplified ratio.
Your values are calculated in your browser and are not sent to the calculator.
Your results

Calculation summary

A:B
Your result will appear here
Enter values and select Calculate ratio to view your answer.
Understand the math

Ratio calculator formulas

A ratio compares quantities in a fixed order. Simplifying or scaling a ratio changes how it is written, but preserves the relationship between its terms.

Simplify a ratioa:b = (a ÷ GCD):(b ÷ GCD)
For integer values, divide both terms by their greatest common divisor (GCD).
Equivalent ratiosa:b = (a × k):(b × k)
Multiply or divide both terms by the same positive factor.
Solve a proportionA:B = C:D means A ÷ B = C ÷ D
For example, when D is missing: D = (B × C) ÷ A, provided A is not zero.
Divide a totalPart A = Total × A ÷ (A + B); Part B = Total × B ÷ (A + B)
The sum of the ratio terms determines each part's share of the total.

How to use this calculator

  1. Choose Simplify ratio, Scale ratio, Solve proportion, or Split a total.
  2. Enter the required values and leave the missing proportion value blank when solving.
  3. Choose how many decimal places to display.
  4. Select Calculate ratio and review the result and working steps.
Worked example

Example: simplify 8:12

The greatest common divisor of 8 and 12 is 4. Divide both terms by 4: 8 ÷ 4 = 2 and 12 ÷ 4 = 3. Therefore, 8:12 simplifies to 2:3. The relationship stays the same because both terms were divided by the same value.

Original ratio8 : 12
Common divisor4
Simplified ratio2 : 3
First share of total40%
Common questions

Ratio calculator FAQs

What is a ratio?

A ratio compares two or more quantities in a particular order, often written with a colon, such as 2:3.

How do I simplify a ratio?

For whole-number terms, divide every term by the greatest common divisor. For example, 8:12 becomes 2:3 after dividing both values by 4.

What is an equivalent ratio?

Equivalent ratios express the same relationship. Multiplying or dividing all terms by the same non-zero factor creates an equivalent ratio.

How do I find a missing value in a proportion?

Use cross multiplication. In A:B = C:D, if D is missing, D = B × C ÷ A, as long as A is not zero.

Can I divide a total according to a ratio?

Yes. Add the ratio terms, then multiply the total by each term divided by that sum. For a 2:3 split of 100, the shares are 40 and 60.

Does the order of a ratio matter?

Yes. A:B describes the first quantity relative to the second. Reversing the terms to B:A generally describes a different relationship.

Note: Ratios should compare quantities with compatible units. A ratio involving different units should be converted to consistent units before interpreting the result.