1. Home
  2. Calculators
  3. Ratio Calculator

Ratio Calculator

For students, cooks and builders who need to reduce a ratio, scale a recipe or divide a total fairly.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Ratio Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table.

Features

  • Simplifies ratios of two or more terms
  • Decimal ratios such as 1.5 : 2.5
  • Missing term of a proportion
  • Shares of an amount in a ratio
  • Shares of the whole and the decimal ratio

Supported formats

Input

  • A typed ratio or numbers

You get

  • On-screen results
  • Copyable text
  • CSV table

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Ratio Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Decimal ratios such as 1.5 : 2.5 are read exactly and reduced to whole numbers; ratios with many decimals can give large terms.
  • A missing-term proportion needs a non-zero b.
  • Everything runs in your browser; nothing you type is sent anywhere.

Guide

Simplifying ratios, solving proportions and sharing an amount in a ratio

A ratio compares quantities: flour to water in a dough, boys to girls in a class, the sides of a screen. People need three things from ratios, and this page does all of them: reduce a ratio to its simplest form, find the missing term in an equal pair of ratios, and split a total into parts that follow a ratio.

Simplifying

Type a ratio using a colon, the word to or spaces, with two or more terms, such as 12:18:30. The tool finds the greatest common divisor of all the terms and divides each by it. For 12, 18 and 30 the divisor is 6 and the simplified ratio is 2 : 3 : 5. It also prints the shares of the whole, 20%, 30% and 50%, and the first term divided by the second as a decimal, 0.6666666667, which is useful when a formula wants a single factor.

Decimal ratios

Ratios with decimals, such as 1.5 : 2.5, are read digit by digit rather than as floating-point numbers, so there is no rounding noise. They are multiplied by the power of ten that makes every term whole and then reduced, which turns 1.5 : 2.5 into 15 : 25 and then 3 : 5, with a greatest common factor of 5 reported against the typed terms. Ratios with many decimal places can give large whole terms, because the exact answer needs them.

Solving a proportion

Enter a, b and c in a : b = c : x. The missing term is x = b × c ÷ a, and the page prints the working and a check that a ÷ b and c ÷ x agree. For 3 : 4 = 9 : x, x is 4 × 9 ÷ 3 = 12, and both ratios equal 0.75. The first term a cannot be zero.

Sharing an amount

Enter the ratio and an amount. The number of parts is the sum of the terms, the value of one part is the amount divided by that sum, and each share is its term times the value of a part. A table lists every share. Sharing 1,000 in the ratio 2 : 3 gives 5 parts of 200, so the shares are 400 and 600.

Edge cases

Terms must be positive numbers; a zero term gives a share of zero, and negative terms are rejected. Units are not converted, so make both sides of a ratio use the same unit before you type them: 30 minutes to 2 hours is 30 : 120, which simplifies to 1 : 4. A ratio with one term is not a ratio, and the page asks for at least two.

A worked example

Start with 12 : 18 : 30. The greatest common divisor is 6, so the simplified ratio is 2 : 3 : 5, which means shares of 20%, 30% and 50%. The decimal ratio 1.5 : 2.5 becomes 15 : 25 and then 3 : 5, shares of 37.5% and 62.5%, and a ratio with three decimal terms, 1.25 : 0.5 : 3, reduces to 5 : 2 : 12. In proportion mode, 3 : 4 = 9 : x gives x = 4 × 9 ÷ 3 = 12, and the check line shows 0.75 and 0.75. In sharing mode, 1,000 in the ratio 2 : 3 has 5 parts, one part is 200, and the shares are 400 and 600. A recipe that uses 2 cups of flour to 3 of water and needs 750 millilitres of dough liquid in total would split the same way, 300 and 450.

Limits

The page works with plain numbers only. It does not read units, mixed numbers or fractions inside a ratio, so convert them first, and it does not draw a visual of the parts.

Checked against the current version of the Ratio Calculator on .

Frequently asked questions

Is 3 : 4 the same as 4 : 3?

No. A ratio is ordered: 3 : 4 says the first quantity is three quarters of the second, while 4 : 3 says the first is one and a third times the second. Keep the order the question gives.

How do I scale a recipe with a ratio?

Write the old and new amount of one ingredient as a proportion, such as 2 cups : 5 cups, solve for the factor, and apply it to every other ingredient. The proportion mode solves one missing term at a time.

How do I simplify 12 : 18 : 30?

Divide every term by the greatest common divisor, which is 6, to get 2 : 3 : 5.

How do I share 1,000 in the ratio 2 : 3?

Add the parts to get 5, then 1,000 ÷ 5 = 200 per part, giving 400 and 600.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.