
What the Ratio Calculator does
This ratio calculator handles the three ratio jobs people run into most. It finds the missing number in a proportion written as A:B = C:D, it reduces any ratio to its simplest whole-number form (even when the terms have decimals), and it splits an amount into shares that follow a ratio such as 2:3:5. Each answer is shown with the working, so you can check it or copy the method into homework.
How to use it
Choose a task from the drop-down. For Solve, type three of the four values A, B, C and D and leave the unknown box blank, then click Calculate. For Simplify, type the ratio with colons between the terms, for example 12:18 or 1.5:2.25:3. For Split, type the ratio and the amount you want to divide, such as 2:3:5 and 500. Press Enter or click Calculate after any change, and use Reset to return to the starting example.
Worked examples
Scaling a recipe: a recipe uses 3 cups of flour to 2 cups of sugar, and you have 7.5 cups of flour. Enter A = 3, B = 2, C = 7.5 and leave D blank. Cross-multiplying gives 3 × D = 2 × 7.5 = 15, so D = 15 / 3 = 5 cups of sugar. The check line confirms both sides equal 1.5.
Simplifying with decimals: for 1.2:0.8, the calculator multiplies both terms by 10 to get 12:8. The greatest common divisor of 12 and 8 is 4, and dividing by 4 gives 3:2. A screen size of 1920:1080 works the same way: the GCD is 120, so the ratio is 16:9.
Sharing money: three partners split $1,200 in the ratio 3:4:5. The terms add up to 12, so one part is 1,200 / 12 = 100. The shares are 3 × 100 = 300, 4 × 100 = 400 and 5 × 100 = 500, which add back to 1,200.
The method behind it
A proportion A:B = C:D says the two ratios are equal, which means A / B = C / D. Multiplying both sides out gives A × D = B × C, so any one value can be found from the other three, for example D = B × C / A. To simplify, the calculator turns every term into a whole number by multiplying by 10, 100 or more, finds the greatest common divisor of all the terms with Euclid's algorithm, and divides each term by it. To split, it adds the terms, divides the amount by that sum to get the value of one part, and multiplies each term by one part.
Tips for accurate answers
Keep the order consistent. If A is flour and B is sugar on the left, C must be flour and D sugar on the right; swapping them gives a different answer. Use the same units on both sides of a proportion, so convert minutes to hours or grams to kilograms first. When a split does not come out evenly, the shares are shown to six decimal places; round money to cents at the end and adjust one share by a cent if the total must match exactly. Ratios with more than two terms, such as 1:2:3 for a concrete or paint mix, work in Simplify and Split.
Quick FAQ
Is 2:3 the same as 2/3? As a comparison, yes, 2:3 can be written as the fraction 2/3. But as shares of a whole, 2:3 means 5 parts in total, so the first share is 2/5 of the amount, not 2/3.
Can I enter zero or negative numbers? No. Ratios here compare positive amounts, so every term must be greater than zero. Decimals are fine.
What does 1:n form mean? It rescales a two-term ratio so the first term is 1. For 2:3 that is 1:1.5, which is handy for comparing ratios side by side.
Who it is for
Students checking proportion and ratio homework, cooks resizing recipes, builders and DIYers mixing concrete, mortar or paint, designers working with aspect ratios, and anyone dividing costs, profits or an inheritance by agreed shares. Everything runs in your browser, and nothing you type is stored or sent anywhere.