Ratio Calculator
Solve a proportion or reduce a ratio without doing the arithmetic by hand. In Solve mode you enter three of the four terms in A:B = C:D and leave one field blank to find the missing value by cross multiplication. In Simplify mode you enter a two-term ratio and it divides both sides by their greatest common divisor to show the lowest terms.
How to use the ratio calculator
- Choose a tab: 'Solve proportion' to find a missing term, or 'Simplify' to reduce a ratio.
- In Solve mode, fill in the A, B, C and D boxes and leave exactly one of them empty.
- Read the 'Solved for' line, which names the blank term and updates live as you type.
- In Simplify mode, type the two terms into the A and B boxes.
- Read the reduced ratio under 'Simplified', then reuse the numbers wherever you need them.
Examples
Solve for the missing term (C is blank)
1 : 2 = ? : 10
Solved for C: 5, since 1 times 10 divided by 2 is 5
Simplify a screen resolution to an aspect ratio
1920 : 1080
16 : 9
Solve for the last term (D is blank)
3 : 4 = 9 : ?
Solved for D: 12, since 4 times 9 divided by 3 is 12
Frequently asked questions
What is the difference between a ratio and a proportion?
A ratio compares two quantities, such as 3:2. A proportion is a statement that two ratios are equal, such as 3:2 = 6:4. The Simplify tab works on a single ratio, while the Solve tab works on a proportion where one term is unknown.
How does it find the missing value?
It uses cross multiplication. For A:B = C:D the products A times D and B times C are always equal, so the calculator rearranges that equation to isolate whichever term you left blank and divides to get the answer.
How do I reduce a ratio to lowest terms?
Switch to the Simplify tab and enter both numbers. It divides each side by their greatest common divisor. For example 1920 and 1080 share a divisor of 120, so the ratio reduces to 16:9.
Can I use decimals, or only whole numbers?
Both fields accept decimals. Solve mode handles decimals cleanly through cross multiplication. Simplify mode is designed for whole numbers, since the greatest common divisor is defined for integers, so decimal input there may not reduce the way you expect.
Why do I see 'Provide exactly three values and leave exactly one blank'?
Solve mode needs precisely one unknown. If you leave two or more boxes empty, or fill in all four, there is nothing single to solve for, so it asks you to supply three terms and clear just one.
Why does it say it cannot divide by zero?
Solving for a term requires dividing by one of the values you entered. If that divisor is zero, for example solving for D in 0:B = C:D, the result is undefined and the calculator reports the error instead of returning a wrong number.
Can I scale a recipe or a mixture with it?
Yes. Set up a proportion like 2:3 = x:9 to hold a fixed ratio while changing the total, then read the solved term. This is handy for scaling ingredients, paint mixes, fertilizer dilutions, or model measurements up and down.
Are negative numbers allowed?
Yes, any finite number works, including negatives. Cross multiplication is still valid, so a proportion like -2:4 = ?:10 solves to -5. Negative ratios rarely make physical sense, but the math is handled correctly.
Is my data sent to a server?
No. Every calculation runs locally in your browser as you type, so the numbers you enter never leave your device and nothing is stored.
Learn more
- Ratios and proportions: how cross multiplication works
Learn what a ratio is, how a proportion links two ratios, and why cross multiplication solves for any missing term every time.
Related tools
Fraction Calculator
Add, subtract, multiply or divide two fractions and get a fully simplified answer, the decimal value and the mixed number form. Free and instant.
GCD and LCM Calculator
Find the greatest common divisor and least common multiple of a list of integers. Enter two or more numbers separated by commas or spaces.
Annulus Area Calculator
Calculate the area of an annulus, the ring between two concentric circles, from its outer and inner radius. Returns both circumferences and width too. Free.
Area Calculator
Find the area of a circle, square, rectangle, triangle, trapezoid, parallelogram, ellipse, sector or rhombus. Free and runs in your browser.
Arithmetic Sequence Calculator
Find the nth term, the sum of n terms and the full term list for any arithmetic or geometric sequence. Enter the first term, step or ratio, and n.
Average Calculator
Find the mean, median, mode, range, sum, count, min and max of a list of numbers. Paste values separated by commas, spaces or new lines.