=Calculator Hub

Ratio Calculator

Work with ratios in two ways: solve the missing term in a proportion like a:b = c:x, or reduce any ratio such as 8:12 to its simplest form. Both modes also show the equivalent decimal value.

x (missing term)6
Decimal equivalent1.5

How this calculation works

"Solve the proportion" uses cross-multiplication. If a:b equals c:x, then a × x = b × c, so the missing term is x = (b × c) ÷ a. This is the same rule taught for scaling recipes, maps and mixtures.

"Simplify a ratio" divides both terms by their greatest common divisor (GCD) — the largest whole number that divides both evenly. Dividing a:b by their GCD gives the smallest whole-number ratio that means the same thing.

The decimal value (a ÷ b, or b ÷ a for the proportion) is shown alongside so you can compare ratios that use different scales at a glance.

Worked example

To solve 2:3 = 4:x, cross-multiply: x = (3 × 4) ÷ 2 = 6, so the full proportion is 2:3 = 4:6. To simplify 8:12, the GCD of 8 and 12 is 4, so dividing both terms gives 8÷4 : 12÷4 = 2:3 — the same ratio in its lowest terms.

Cross-multiplication, step by step

A proportion says two ratios are equal: a:b = c:x, or equivalently a/b = c/x. Cross-multiplying clears both fractions at once: a × x = b × c. Dividing both sides by a isolates the unknown: x = (b × c) ÷ a.

This single rule covers scaling a recipe up or down, converting a map distance to real distance, mixing paint or concrete in the right proportion, and adjusting a photo or design to a new size without distorting it.

Finding the GCD to simplify a ratio

To reduce a:b to lowest terms, find the greatest common divisor (GCD) of a and b, then divide both numbers by it. The Euclidean algorithm finds the GCD quickly: repeatedly replace the larger number with the remainder of dividing it by the smaller, until the remainder is zero — the last non-zero value is the GCD.

RatioGCDSimplified
4:841:2
6:932:3
10:1552:3
16:2482:3
21:1473:2

Everyday uses for ratios

Ratio, fraction and percentage are the same idea

Any ratio a:b can be written as the fraction a/(a+b) of the total, or as a decimal by dividing a by b, or as a percentage by multiplying that decimal by 100. A class with a 3:2 ratio of girls to boys is 3/5 = 60% girls, and the decimal form of the ratio (girls per boy) is 3 ÷ 2 = 1.5.

Frequently asked questions

How do you solve a proportion like a:b = c:x?
Cross-multiply and divide: x = (b × c) ÷ a. This works because a proportion states that two ratios are equal, and cross-multiplication is just clearing the fractions a/b = c/x.
How do you simplify a ratio to its lowest terms?
Find the greatest common divisor (GCD) of both numbers and divide each by it. For 20:30, the GCD is 10, so the simplified ratio is 2:3. If the numbers share no common factor other than 1, the ratio is already in lowest terms.
What is the difference between a ratio and a proportion?
A ratio compares two quantities, such as 2:3. A proportion is a statement that two ratios are equal, such as 2:3 = 4:6. This calculator's "solve" mode finds a missing value in a proportion; "simplify" reduces a single ratio.
Is my data stored or sent anywhere?
No. Every calculation runs entirely in your browser. Nothing you type is uploaded or saved.
Can a ratio include negative or decimal numbers?
Yes, the solver works with any real numbers, but the classic "lowest terms" simplification is defined for whole numbers, so decimal inputs are rounded to the nearest integer before finding the GCD.
Why does a:b = c:x sometimes have no solution?
If a is zero, the proportion a/b = c/x is undefined because you cannot divide by zero, so there is no valid value of x. Enter a non-zero value for a.
How do ratios relate to percentages and fractions?
A ratio, a fraction and a percentage are three ways to express the same relationship. The ratio 1:4 is the fraction 1/4, which is 25%. Converting between them just changes the presentation, not the underlying relationship.
This tool is provided for general information only. Verify important figures independently. · Last reviewed: August 25, 2026