Math / Arithmetic / Ratios & Averages

Ratio Calculator

Simplify any ratio to its lowest terms, convert to a fraction or decimal, and find the percentage split.

Calculator

Enter your values and view the result instantly.

Change any field below to update the answer straight away.

:

3:4

Simplified ratio

3/4

As a fraction (A/B)

0.7500

As a decimal (A÷B)

42.86%

A as % of total (A+B)

Math Basics

Ratio calculator: simplify, convert, and compare ratios

A ratio expresses the relative sizes of two quantities. Ratios appear in recipes, maps, architecture, photography, finance, and everyday comparisons. They can be written as A:B, as a fraction A/B, or as a decimal. A ratio calculator simplifies a ratio to its lowest terms, converts it between representations, and shows each part as a percentage of the total — turning a pair of numbers into a clear, usable comparison.

Simplifying ratios using GCD

To simplify a ratio, divide both terms by their greatest common divisor (GCD). The GCD is the largest positive integer that divides both numbers without a remainder. Dividing 12:8 by their GCD of 4 gives 3:2. The simplified ratio has the same proportional relationship as the original but uses the smallest possible whole numbers.

The Euclidean algorithm is an efficient method for finding the GCD. Repeatedly replace the larger number with the remainder when the larger is divided by the smaller, until the remainder is zero. The last non-zero value is the GCD. For 48 and 36: 48 mod 36 = 12; 36 mod 12 = 0; GCD = 12. So 48:36 simplifies to 4:3.

Decimal values in a ratio cannot be directly simplified using integer GCD. The standard approach is to multiply both terms by a power of 10 sufficient to clear all decimal places, then apply the integer GCD. For example, 1.5:2.5 becomes 15:25, which simplifies to 3:5.

GCD(a, b) via Euclidean algorithm: while b ≠ 0, [a, b] = [b, a mod b]; GCD = a

Repeatedly replace (a, b) with (b, remainder of a ÷ b) until b equals zero. The remaining a is the GCD.

Simplified ratio = (a / GCD) : (b / GCD)

Divide each term of the ratio by the GCD to reduce it to its lowest terms.

A as % of total = a / (a + b) x 100

Express the first quantity as a share of the combined total by dividing a by (a + b) and multiplying by 100.

Ratios in real life

Aspect ratios describe the proportional relationship between the width and height of an image, screen, or frame. The 16:9 ratio used by modern televisions and video content means the width is 16 units for every 9 units of height. The 4:3 ratio of older televisions translates to approximately 1.33:1. Photographers working with full-frame sensors use a 3:2 aspect ratio inherited from the 35mm film standard.

In cartography, map scale is expressed as a ratio between map distance and real-world distance. A scale of 1:25,000 means one centimetre on the map represents 25,000 centimetres (250 metres) on the ground. Understanding the scale ratio lets you calculate actual distances from map measurements directly.

Financial ratios are a core tool in investment analysis. The price-to-earnings ratio (P/E) compares a stock's price to its annual earnings per share. A P/E of 20:1 means investors are paying $20 for every $1 of annual earnings. The debt-to-equity ratio compares total debt to shareholders' equity, giving a snapshot of financial leverage. In both cases, the ratio is a simplified expression of a proportional relationship that can be compared across companies and time periods.

Further reading

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.

Average Calculator

Find the mean, median, mode, and range of any list of numbers. Enter values separated by commas or spaces.

Proportion Calculator

Solve missing values in a:b = c:d proportions with cross multiplication, then compare the completed ratios and matching products.

Percentage Calculator

Find percentages, percentage change, increase, decrease, and part-to-whole values with a quick online percentage calculator.

Percentage Decrease Calculator

Calculate how much a number falls after a percentage decrease, then see the decrease amount, new total, and remaining factor instantly.

Privacy choices

Help us improve the site.

If you allow analytics, we may use Google Analytics and Microsoft Clarity to better understand how the site is used. Analytics remain off unless you accept.