Premium tools, free for everyone. Most run right in your browser.

OpenMultiURL

Ratio Calculator

The Ratio Calculator simplifies a ratio to its smallest whole numbers, finds the missing value when you scale a ratio up or down, and splits a total in that ratio. It also shows the ratio as 1 : n, as a decimal and as percentages.

  • Free, no subscriptions
  • Runs in your browser
  • Checked by AK Shine
See how it works before you use your own.
–Simplest form
–A : B = new A : ?
–As 1 : n
–Shares of the whole
A ÷ B as a decimal–
Total split in the ratio–

To simplify, divide both numbers by their highest common factor.

What is the Ratio Calculator?

A ratio compares two amounts, and the same ratio can be written many ways: 12 : 18, 6 : 9 and 2 : 3 are equal. The Ratio Calculator divides both numbers by their highest common factor to give the simplest form, and handles decimals such as 1.5 : 2.5 by scaling them to whole numbers first. Enter a new value for A and it finds the matching B, which is how you resize an image, scale a recipe or work out a map distance. Enter a total and it splits it in the ratio, as when sharing profit between partners or mixing concrete. It runs in your browser, is free, and has no subscriptions.

Who it is for: Students working through ratio questions, cooks scaling recipes, designers keeping image proportions and business partners sharing profit.

How to use the Ratio Calculator

  1. Enter the "First number (A)" and the "Second number (B)".
  2. Read the simplest form, the 1 : n form and the percentages.
  3. To scale, enter a "new value for A" and read the matching B.
  4. To share an amount, enter the total under "Split a total" and read each part.

Why use it

  • Simplest form12 : 18 becomes 2 : 3, and decimals such as 1.5 : 2.5 become 3 : 5.
  • Missing valueSolve A : B = C : ? to scale a recipe, a drawing or a screen size.
  • Split a totalShare an amount between two people or parts in the ratio you choose.
  • Several viewsSee the ratio as 1 : n, as a decimal and as percentages of the whole.

At a glance

What you put in
Two numbers A and B, optional new value for A, optional total to split
What you get
Simplest ratio, scaled value, 1 : n form, percentages, decimal, split amounts
Limits
Two numbers; 0 or above; up to 6 decimal places
Privacy
Runs in your browser. Nothing you enter is uploaded or stored.
Price
Free for everyone. No subscriptions, no payments, no watermark.
Works offline
Yes, once the page has loaded
Last checked
by AK Shine

Worked example

Input
First number (A): 12; Second number (B): 18; New value for A: 30; Total to split: 500.
Result
Simplest form: 2 : 3
A : B = new A : ?: 30 : 45
As 1 : n: 1 : 1.5
Shares of the whole: 40% : 60%
A ÷ B as a decimal: 0.6667
Total split in the ratio: 200 and 300

The highest common factor of 12 and 18 is 6, so 12 : 18 = 2 : 3. Scaled: 18 × 30 ÷ 12 = 45. Split: 500 ÷ 5 parts = 100 a part, so 2 parts = 200 and 3 parts = 300.

When to use something else

  • It works with two numbers at a time. For three parts, such as 1 : 2 : 3 concrete mixes, split the total in two steps or work out each share as part ÷ total parts.
  • Results are rounded to 4 decimal places on screen, so a share like one third shows as 33.3333%.
  • For screen and image sizes, a ratio like 16 : 9 is a shape, not a size; use the scale box to find the height for any width.

Add this calculator to your website

Copy this code into any page of your site or blog. The calculator works inside your page, free, with no sign up for your readers and no ads inside it.

Preview

Questions people ask

How do you simplify a ratio?

Divide both numbers by their highest common factor. For 12 : 18, the highest common factor is 6, so 12 ÷ 6 : 18 ÷ 6 = 2 : 3.

How do I simplify a ratio with decimals?

Multiply both numbers by 10, 100 or 1,000 until they are whole, then simplify. 1.5 : 2.5 becomes 15 : 25, which simplifies to 3 : 5.

How do I find the missing number in a ratio?

For A : B = C : ?, the missing number is B × C ÷ A. For 2 : 3 = 10 : ?, it is 3 × 10 ÷ 2 = 15. Enter the new value for A and the calculator gives it.

How do I divide an amount in a ratio?

Add the parts of the ratio, divide the total by that sum to get one part, then multiply. To share 500 in the ratio 2 : 3, there are 5 parts of 100, so the shares are 200 and 300.

How do I turn a ratio into a percentage?

Divide each part by the sum of the parts and multiply by 100. In 2 : 3 there are 5 parts, so the shares are 2 ÷ 5 = 40% and 3 ÷ 5 = 60%.

What is the height of a 16:9 image 1920 pixels wide?

Enter 16 and 9, then 1920 as the new value for A. The height is 9 × 1920 ÷ 16 = 1,080 pixels.

Next, you might need