Skip to content
QueenNexa

Free tool

Ratio Calculator

Simplify a ratio, solve a proportion for the missing number, or split a total in a ratio such as 2:3:5, with the working shown. Free and private.

Simplify a ratio

Reduce a ratio to the smallest whole numbers, such as 12 : 18 to 2 : 3. Decimals are fine. Leave the third box empty for a two-part ratio.

Simplified ratio
–
Divided by
–
First ÷ second
–
Share of the whole
–

Working: –

Solve a proportion

Find the missing number in A : B = C : D. Leave exactly one box empty and the calculator fills it in.

Missing number
–
The full proportion
–

Working: –

Split a total in a ratio

Share an amount in proportion, such as a bill, a budget or a mix. Separate the parts with colons or spaces.

Each share
–
Value of one part
–

Working: –

Assumptions and limits

Every figure comes from the numbers you enter. Where a rule of thumb is used, it is labeled as one.

  • Simplifying multiplies every part by a power of 10 to remove decimals, then divides by the greatest common divisor, using whole-number math with no rounding. Up to 9 decimal places and 15 digits per part are accepted.
  • A proportion A : B = C : D means A × D = B × C. The empty box is the one solved for, and the others cannot make you divide by 0.
  • Splitting divides the total by the sum of the parts to get one part, then multiplies by each part. Shares can be fractional, so they are shown to up to four decimals and are not rounded to cents.
  • Percent shares are each part divided by the sum of the parts and are rounded to two decimals for display only.
  • Ratios compare sizes, so negative numbers are not accepted. A ratio carries no units; use the same unit for every part.

Runs entirely in your browser. Nothing you type or upload is sent to our servers.

How ratios and proportions work

A ratio compares quantities by size. It is written with a colon (2 : 3), as a fraction (2/3) or in words ("2 to 3"). Two ratios are equivalent when you can get from one to the other by multiplying or dividing every part by the same number, which is why 2 : 3, 4 : 6 and 20 : 30 describe the same relationship. The simplest form uses the smallest whole numbers, and you reach it by dividing by the greatest common divisor.

A proportion states that two ratios are equal. Because the cross products of equal ratios match, any one missing value can be found from the other three: A × D = B × C.

Worked example 1: simplifying a screen size

A video is 1,920 pixels wide and 1,080 pixels tall. What is its aspect ratio?

  1. The greatest common divisor of 1,920 and 1,080 is 120.
  2. Divide both: 1,920 ÷ 120 = 16 and 1,080 ÷ 120 = 9.
  3. The simplified ratio is 16 : 9, and 16 ÷ 9 = 1.7778 as a decimal.

The calculator opens with 12 : 18, whose divisor is 6, so it simplifies to 2 : 3, a split of 40% to 60%.

Worked example 2: scaling a recipe

A recipe uses 3 cups of flour for 4 servings. How much flour is needed for 10 servings?

  1. Write the proportion 3 : 4 = x : 10.
  2. Cross-multiply: 4 × x = 3 × 10 = 30.
  3. Divide: x = 30 ÷ 4 = 7.5 cups.

To split a $1,000 budget in the ratio 2 : 3 : 5, add the parts (2 + 3 + 5 = 10), find one part (1,000 ÷ 10 = 100), and multiply: 2 × 100 = $200, 3 × 100 = $300 and 5 × 100 = $500. The third panel above is set up with these numbers.

Tips

  • Keep the units the same in every part before you compare. Mixing feet and inches in one ratio gives a number that means nothing.
  • Check a result by multiplying back: 2 × 100 + 3 × 100 + 5 × 100 should return the original total.
  • Scaling up or down by the same factor never changes a ratio. Adding the same amount to every part does.

Related calculators

Ratios and fractions are two views of the same idea, so the Fraction Calculator is the natural companion. To express one number as a percent of another, use the Percent Change & Percentage Calculator. For mixing quantities in a build, try the Concrete Calculator.

Frequently asked questions

What is a ratio?

A ratio compares the size of two or more quantities. Writing 2 : 3 says that for every 2 of the first thing there are 3 of the second. A ratio has no units of its own, so 4 cups to 6 cups, 4 miles to 6 miles and 4 people to 6 people are all the same ratio, 2 : 3.

How do I simplify a ratio?

Divide every part by their greatest common divisor, the largest whole number that divides them all. For 12 : 18 that number is 6, so the ratio becomes 2 : 3. If the parts are decimals, multiply them all by 10, 100 or 1,000 first so they become whole numbers, then divide. For example, 1.5 : 2.5 becomes 15 : 25, and then 3 : 5.

How do I solve a proportion?

Cross-multiply. In A : B = C : D, the products A × D and B × C are equal, so any missing value is the product of the other two across the diagonal divided by the one beside it. For 3 : 4 = x : 10, x = 3 × 10 ÷ 4 = 7.5. That is how a recipe for 4 servings is scaled to 10.

How do I split an amount in a ratio?

Add the ratio parts to find the number of equal pieces, divide the total by that number to get the value of one piece, then multiply by each part. To split 1,000 in the ratio 2 : 3 : 5, the parts add to 10, one piece is 100, and the shares are 200, 300 and 500.

What is the difference between a ratio and a fraction?

A fraction compares a part to the whole, while a ratio can compare any two quantities. If 2 of 5 students walk to school, the fraction who walk is 2/5, but the ratio of walkers to non-walkers is 2 : 3. To move between them, add the parts of the ratio to get the whole: 2 + 3 = 5.

Can a ratio include zero or decimals?

Decimals are fine and are handled exactly, so 0.5 : 1.5 becomes 1 : 3. A ratio may contain a zero part, such as 0 : 5, which simplifies to 0 : 1, but at least one part must be above 0. Negative numbers are not accepted, because ratios compare sizes.

Link to this tool

Found it useful? Copy a link for your page, newsletter or documentation.

Get new tools and guides by email

Optional. The tool above works without signing up.

One email every Tuesday. Free, and you can unsubscribe in one click.

More free tools

Browse all everyday calculators or the full list of free tools.