Math

Ratio calculator

Simplify a two-part ratio or find the missing value that makes two ratios equal. A value that does not terminate stays an exact fraction.

Free to useNo sign-upCalculated in your browser

A ratio or a proportion

Use at most 4 decimal places. A blank is not zero. Do not enter a fraction such as 1/2. Enter 0.5.

Question

Your numbers stay in this browser.

Choose simplify or solve. A repeating value stays an exact fraction and is not rounded.

Two exact questions

Simplify turns a:b into lowest terms. Solve finds the one missing value that makes a:b = c:d. The equation is a × d = b × c, using the exact values you enter. OpenStax Prealgebra shows that 3/4 divides out to 0.75, while 4/3 repeats. This page shows a decimal only when the division ends. Otherwise it keeps the fraction.

12:18 is 2:3. 0.5:1.5 is 1:3. 12:−18 is −2:3, with the sign on the first term. −12:−18 is 2:3. 0:5 is 0:1, and 5:0 is 1:0. 0:0 is not a ratio.

One missing value

2:3 = 8:x is 12. 3:4 = x:10 is 7.5, which is 15/2. 1:3 = x:1 is 1/3. That value does not have a terminating decimal, so the page does not invent one.

−2:3 = −8:x is 12. 5:0 = 10:x is 0, and neither side is 0:0. 0:1 = 1:x cannot be equal. 0:1 = 0:x has more than one answer, so the page does not pick one. 1:2 = 0:x would make a ratio of 0:0.

A term can have at most four decimal places. 1.2300 is the same as 1.23. 1.23456 is rejected. It is not rounded. Enter 0.5 rather than 1/2. Mixed numbers belong on the fraction calculator. A percent of a number belongs on the percentage calculator.

What this page does not do

It does not calculate debt as a percent of income. It does not measure an aspect ratio for a screen. It does not round a repeating value to a nearby decimal, because that would be a different ratio.

Frequently asked questions

Why is 1/3 not shown as 0.333? 0.333 is a different number. The exact result is 1/3, and the page says that it does not terminate.

What if I fill in all four values? Leave the unknown blank. A typed 0 is zero, not the unknown.

Are these ratios sent to analytics? No. Analytics may record that this calculator ran. The terms and the result stay in this browser.

Sources & review

Last reviewed: . The formula is reproduced above so you can check the math independently.

How we check calculations and describe their limits

Exact ratio only. This page does not round a repeating value into a different ratio.

Accessibility and student privacy

Our accessibility target is WCAG 2.1 AA. We use automated checks for keyboard operation, narrow layouts and readable alternatives to charts. Keyboard and screen reader behavior can vary by device and browser.Report an accessibility issue.

These tools have no ads, affiliate offers or sponsored content. No account is needed. Calculations run in your browser; your inputs and results are not sent to us or to analytics. Google Analytics may be used to measure site usage. See Privacy & analytics for details and how to turn it off.