NumberPath
Preparing offline
Everyday mathsFree calculatorPreparing offline

Ratio Calculator for Simplifying and Solving Proportions

Simplify a ratio, find an equivalent ratio, solve a proportion, or interpret parts of a whole.

Your inputs

Nonnegative integer parts for simplification; real nonnegative c for scaling. The original first term must be positive to solve from c.

Your calculation

Result

—

Enter your inputs to see the result and working.

No account. Inputs stay in your browser.

Choose the ratio or proportion calculation

Use Simplify and interpret a:b to reduce two whole-number parts and see each part as a share of their combined whole. Use Scale ratio to a new first term when you know a new value for the first term and want the matching second term. Use Solve a:b = c:x for the same proportional relationship written as an equation with the second term missing. In all three modes, order matters: 2:3 compares a first part of 2 with a second part of 3, while 3:2 reverses that comparison.

Part-to-part and part-to-whole ratios

The notation a:b is a part-to-part comparison between a and b. When those are the only two parts, their combined whole is a + b, so the first share of the whole is a ÷ (a + b) and the second share is b ÷ (a + b). For 6 red counters and 9 blue counters, the part-to-part ratio is 6:9. There are 15 counters in all, so the part-to-whole shares are 6/15 = 40% red and 9/15 = 60% blue. Those percentages describe shares of the whole; they are not the two terms of the ratio.

Checked example: simplify 6:9

To simplify a whole-number ratio, find the greatest common factor of both terms and divide both by it. The greatest common factor of 6 and 9 is 3, so 6:9 = (6 ÷ 3):(9 ÷ 3) = 2:3. Dividing both terms by the same nonzero number preserves the comparison. The simplified terms 2 and 3 have no common whole-number factor greater than 1.

Checked example: solve 6:9 = 12:x

For a:b = c:x, the scale factor from a to c is c ÷ a and the missing term is x = c × b ÷ a. With 6:9 = 12:x, the scale factor is 12 ÷ 6 = 2, so x = 12 × 9 ÷ 6 = 18. Scale mode with the same inputs also returns 18 because it applies that same equivalent-ratio calculation.

Zero behavior and input limits

The original terms a and b must be nonnegative whole numbers. They cannot both be zero because 0:0 has no defined comparison. One zero is allowed in Simplify mode: 0:9 simplifies to 0:1, and 9:0 simplifies to 1:0; the part-to-whole shares are still defined because the combined whole is positive. Scale and proportion modes require a to be positive because the formula divides by a. Their new first term c may be any nonnegative finite number, including a decimal or zero, so 6:9 = 0:x gives x = 0. The calculator does not accept negative original terms or decimal values for a and b, and it does not infer units or decide whether the compared quantities are compatible.

Method reference

OpenStax: Ratios and Proportions explains equivalent ratios, proportions and cross products. The calculator uses the equivalent-ratio form x = cb/a for the supported missing-term arrangement.

Method and worked example checked against the calculator implementation. About our methods · Report a correction

Keep exploring

Try another calculator with clear working.

Percentage Calculator →

Saved calculations

Stored in this browser on this device. Browser data removal also removes these saves.

Keep NumberPath handy

Open this website in a browser that supports installation. If an install option is available, use its address-bar or browser-menu control.

iPhone or iPad: open the Share menu and choose Add to Home Screen. Installation options depend on your browser.

When the header says Offline ready, the app shell has been cached. Calculators you open online are saved for offline use until the next app update. Saved inputs remain in this browser. Installation varies by browser; it has not been tested on every device.