Ratio Calculator

➗ Ratio Tool

Ratio
Calculator

Simplify ratios, solve proportions, generate equivalent ratios, calculate aspect ratios, and convert ratios to fractions, decimals, and percentages — instantly, with interactive bars, pie charts, and step-by-step working.

🎯 Math Accurate
⚡ Instant Results
📚 Education Ready
Mode
First part (A)
:
Second part (B)
Quick ratios
Result
—
📊 Proportional bars
🥧 Share
Simplified
—
Fraction
—
Decimal
—
Percentage
—
A of whole
—
B of whole
—
📐 Working
➗ Ratio insight:
—
ℹ️ Ratios are simplified using the greatest common divisor (GCD). Decimals are scaled to whole numbers first. Missing values use cross multiplication (a×d = b×c). Results use standard mathematical ratio methods.

Ratio Calculator: Simplify Ratios & Solve Proportions Online

A ratio calculator simplifies ratios, solves proportions, generates equivalent ratios, and converts ratios into fractions, decimals, and percentages. Enter two numbers like 12 : 18 and this calculator instantly reduces it to its simplest form (2 : 3) using the greatest common divisor, shows the conversions, and visualizes the proportion with bars and a pie chart. It also solves for missing values in proportions (like 2 : x = 6 : 12), calculates aspect ratios for screens and images, and generates a table of equivalent ratios. Whether you’re a student learning ratios, a designer working with aspect ratios, a cook scaling a recipe, or an analyst comparing quantities, this free tool handles every kind of ratio calculation with clear, step-by-step working.

➗ Example: 12 : 18
GCD = 6 → 12÷6 : 18÷6 = 2 : 3
Fraction: 2/3 · Decimal: 0.6667 · Percentage: 66.67%
Equivalent: 4:6, 6:9, 8:12, 10:15 …

What Is a Ratio?

A ratio is a comparison of two or more quantities, showing how much of one thing there is relative to another. Written as “a : b” (read “a to b”), a ratio expresses the relative sizes of two values. For example, if a recipe calls for 2 cups of flour to 1 cup of sugar, the ratio of flour to sugar is 2 : 1. Ratios can compare parts to parts (flour to sugar) or parts to a whole (flour to total ingredients). Unlike a simple count, a ratio captures a relationship that stays meaningful regardless of scale — a 2 : 1 ratio means the same proportional relationship whether you’re making a small batch or a large one. Ratios appear throughout mathematics, science, business, cooking, design, and everyday life. They’re closely related to fractions (the ratio 2 : 3 corresponds to the fraction 2/3 when comparing the first part to the second) and to proportions (statements that two ratios are equal). A ratio can involve whole numbers, decimals, or even more than two terms (like 2 : 3 : 5 for three quantities). Understanding ratios is fundamental to proportional reasoning — the ability to think about relative quantities — which is one of the most useful mathematical skills in both academic and practical contexts. This calculator handles the core two-term ratio operations that come up most often.

Ratio Formula

The fundamental operations on ratios are based on a simple principle: a ratio expresses a proportional relationship that’s preserved under multiplication and division. To simplify a ratio, divide both terms by their greatest common divisor (GCD): for a : b, find GCD(a, b), then the simplified ratio is (a ÷ GCD) : (b ÷ GCD). To find equivalent ratios, multiply both terms by the same number: a : b is equivalent to (a×k) : (b×k) for any k. To convert a ratio to a fraction, write the first term over the second: a : b becomes a/b. To convert to a decimal, divide: a ÷ b. To convert to a percentage, multiply the decimal by 100. To solve a proportion (two equal ratios, a : b = c : d), use cross multiplication: a × d = b × c, then solve for the unknown. These formulas all flow from the core idea that a ratio represents a relationship that scales proportionally. The GCD is the key to simplification — it’s the largest number that divides both terms evenly, so dividing by it reduces the ratio to its smallest whole-number form while preserving the proportion. This calculator applies all these formulas automatically, showing each step so you can see exactly how the result is derived and learn the underlying method.

Simplifying Ratios

Simplifying a ratio (also called reducing it to lowest terms) means expressing it with the smallest possible whole numbers while keeping the same proportional relationship. The method uses the greatest common divisor (GCD) — the largest number that divides both terms evenly. To simplify 12 : 18, find GCD(12, 18) = 6, then divide both: 12 ÷ 6 = 2 and 18 ÷ 6 = 3, giving 2 : 3. The simplified ratio 2 : 3 represents exactly the same relationship as 12 : 18 but is easier to understand and compare. Simplification is valuable because it reveals the essential proportion: 2 : 3 immediately tells you the relationship, while 12 : 18, 100 : 150, or 24 : 36 (all equivalent) obscure it behind larger numbers. For ratios with decimals, first scale both terms to whole numbers by multiplying by a power of 10 (so 1.5 : 3 becomes 15 : 30), then simplify (to 1 : 2). The calculator handles this automatically. A ratio is in simplest form when the GCD of its terms is 1 — meaning they share no common factors and can’t be reduced further. For example, 5 : 8 is already simplified because GCD(5, 8) = 1. Simplifying ratios is a core skill in math education and a practical necessity whenever you need to compare or communicate proportions clearly.

Equivalent Ratios

Equivalent ratios are different ratios that represent the same proportional relationship. Just as 1/2, 2/4, and 3/6 are equivalent fractions, 2 : 3, 4 : 6, 6 : 9, and 8 : 12 are equivalent ratios — each expresses the same relationship at a different scale. You generate equivalent ratios by multiplying (or dividing) both terms by the same non-zero number: starting from 2 : 3, multiply both by 2 to get 4 : 6, by 3 to get 6 : 9, by 4 to get 8 : 12, and so on. This calculator generates a table of equivalent ratios automatically, showing the pattern. Equivalent ratios are essential for scaling: if a recipe’s ratio of ingredients is 2 : 3 and you want to make a larger batch, you use an equivalent ratio like 8 : 12 (multiplying by 4). They’re also the basis for solving proportions and for comparing ratios — to check if two ratios are equivalent, simplify both and see if they match, or cross multiply. Equivalent ratios reflect the fundamental nature of ratios as relationships rather than absolute quantities: the specific numbers can change, but as long as they change proportionally, the ratio stays the same. Understanding equivalent ratios builds the proportional reasoning that underlies much of practical mathematics, from adjusting recipes to reading maps to converting units.

Ratio to Fraction

Converting a ratio to a fraction is straightforward when you’re comparing the first part to the second: the ratio a : b becomes the fraction a/b. So 2 : 5 becomes 2/5, and 3 : 4 becomes 3/4. This part-to-part fraction shows how the first quantity relates to the second. However, ratios and fractions capture slightly different ideas, and context matters. When a ratio describes parts of a whole, the fractions work differently: if a class has a ratio of 2 : 3 boys to girls, then boys are 2/5 of the class and girls are 3/5 (each part over the total of 2 + 3 = 5), not 2/3. This distinction between part-to-part (2 : 3, or the fraction 2/3 comparing the parts) and part-to-whole (2/5 and 3/5 as portions of the total) is a common source of confusion. This calculator shows both: the direct fraction (a/b) and the part-to-whole percentages. Converting ratios to fractions is useful because fractions can then be simplified, compared, added, or used in further calculations. The simplified fraction and the simplified ratio share the same numbers — 12 : 18 simplifies to 2 : 3, and 12/18 simplifies to 2/3 — reflecting the close relationship between the two concepts. Understanding when to use part-to-part versus part-to-whole fractions is key to applying ratios correctly.

Ratio to Percentage

Converting a ratio to a percentage expresses the relationship as a proportion out of 100, which is often more intuitive for communication. There are two common interpretations. To express the ratio itself as a percentage (first part relative to second), convert to a decimal and multiply by 100: for 2 : 5, that’s 2 ÷ 5 = 0.4, then × 100 = 40%, meaning the first part is 40% of the second. To express each part as a percentage of the whole, divide each part by the total: for 2 : 3, the total is 5, so the first part is 2/5 = 40% and the second is 3/5 = 60%. This part-to-whole percentage is what you’d use to describe composition — “the mixture is 40% component A and 60% component B.” This calculator shows both the ratio-as-percentage and the part-to-whole percentages. Percentages are especially useful for communication because they’re universally understood and easy to compare: saying a portfolio is split 60% : 40% is clearer to most people than 3 : 2, even though they’re equivalent. Percentages also connect ratios to many real-world contexts — interest rates, discounts, statistics, and probabilities are all percentage-based. Being able to move fluidly between ratios, fractions, decimals, and percentages — all of which this calculator computes simultaneously — is a valuable numeracy skill, letting you choose the most appropriate representation for any situation.

Aspect Ratios

🖥️

16:9 Widescreen

The standard for HD and 4K TVs, monitors, and most video. 1920×1080, 3840×2160, and 2560×1440 all simplify to 16:9.

📺

4:3 Standard

The classic TV and monitor ratio before widescreen. Still used for some presentations and legacy content. 1024×768 is 4:3.

⬛

1:1 Square

Equal width and height, popular for social media posts (Instagram) and profile images. Simple and balanced.

🎬

21:9 Ultrawide

Cinematic ultrawide, used for immersive monitors and film. Provides a wide field of view for gaming and movies.

An aspect ratio describes the proportional relationship between the width and height of a rectangle — most commonly a screen, image, or video. It’s expressed as width : height, and it’s found by simplifying the dimensions. For a 1920 × 1080 screen, the aspect ratio is found by simplifying 1920 : 1080, which reduces (dividing by GCD 120) to 16 : 9 — the widescreen standard. Aspect ratios matter enormously in design, photography, video, and displays because they determine how content fits a screen and whether it appears stretched, letterboxed (black bars top and bottom), or pillarboxed (bars on the sides). Common aspect ratios include 16 : 9 (HD/4K widescreen), 4 : 3 (classic TV), 1 : 1 (square, for social media), 21 : 9 (ultrawide cinema), 3 : 2 (many cameras and prints), and 9 : 16 (vertical video for mobile). When you resize an image or video, maintaining the aspect ratio prevents distortion. This calculator’s aspect ratio mode takes any width and height, simplifies them to the standard ratio, shows a visual preview of the proportions, and identifies the orientation (landscape, portrait, or square). It’s invaluable for designers choosing dimensions, video editors ensuring proper framing, and anyone working with screens and images who needs to know or match an aspect ratio.

Real-Life Uses of Ratios

Ratios are among the most practically useful mathematical concepts, appearing across countless fields. Cooking and baking: recipes are essentially ratios of ingredients, and scaling a recipe up or down means preserving those ratios — a 1 : 2 : 3 ratio of sugar, butter, and flour stays constant whether you make one batch or ten. Finance: financial ratios (debt-to-equity, price-to-earnings, current ratio) are essential tools for analyzing companies and investments. Maps and models: scale is a ratio (1 : 50,000 on a map means 1 unit equals 50,000 real units), letting us represent large things at manageable sizes. Engineering and construction: gear ratios, mixing ratios for concrete and chemicals, slope ratios, and structural proportions all rely on ratios. Design and media: aspect ratios govern screens and images, and design proportions (like the golden ratio) shape aesthetics. Chemistry: chemical reactions combine substances in fixed ratios, and mixtures are described by ratios. Business: conversion rates, staffing ratios, and resource allocation use proportional thinking. Sports and health: statistics, body ratios, and nutritional proportions involve ratios. Photography: aspect ratios, exposure ratios, and print sizes are ratio-based. In each case, ratios let us express and preserve relationships between quantities, scale things up or down proportionally, and compare across different sizes. This universality is why ratios are taught early in mathematics and remain relevant throughout life — the ability to reason proportionally is one of the most transferable quantitative skills, and this calculator supports it across all these applications.

Common Mistakes

  • Confusing part-to-part with part-to-whole. In a 2 : 3 ratio, the first part is 2/5 of the whole, not 2/3. The 2/3 compares the parts to each other; 2/5 is the part’s share of the total. Know which you need.
  • Not simplifying fully. Dividing 12 : 18 by 2 gives 6 : 9, but that’s not fully simplified — you must divide by the GCD (6) to reach 2 : 3. Always use the greatest common divisor.
  • Reversing the order. A ratio of 2 : 3 is different from 3 : 2. Order matters — “boys to girls” is not the same as “girls to boys.” Keep the order consistent with the labels.
  • Adding ratios incorrectly. You can’t simply add ratios like fractions without a common basis. Combining ratios requires care about what the terms represent.
  • Mismatching units. A ratio compares quantities in the same units. Comparing 2 meters to 3 centimeters as “2 : 3” is wrong — convert to the same unit first (200 cm : 3 cm = 200 : 3).
  • Cross-multiplication errors. When solving a : b = c : d, the correct cross products are a×d and b×c. Mixing up which terms multiply is a common proportion-solving mistake.

Worked Examples

Let’s work through several ratio problems the calculator handles. Example 1 — Simplifying: Simplify 45 : 60. Find GCD(45, 60) = 15. Divide: 45 ÷ 15 = 3, 60 ÷ 15 = 4. Answer: 3 : 4. Example 2 — Equivalent ratios: Find ratios equivalent to 3 : 5. Multiply both by 2, 3, 4: 6 : 10, 9 : 15, 12 : 20 — all equivalent. Example 3 — Missing value: Solve 4 : 7 = 12 : x. Cross multiply: 4 × x = 7 × 12, so 4x = 84, x = 21. Answer: x = 21, and 4 : 7 = 12 : 21. Example 4 — Ratio to percentage: Express 3 : 5 as part-to-whole percentages. Total is 8; first part 3/8 = 37.5%, second part 5/8 = 62.5%. Example 5 — Aspect ratio: Find the aspect ratio of a 2560 × 1440 monitor. Simplify 2560 : 1440 — GCD is 160 — giving 16 : 9. It’s a widescreen display. Example 6 — Recipe scaling: A recipe uses a 2 : 3 ratio of oil to vinegar and needs scaling for 15 total parts. Since 2 + 3 = 5 and 15 ÷ 5 = 3, multiply both by 3: 6 : 9, so 6 parts oil to 9 parts vinegar. Example 7 — Decimal ratio: Simplify 1.5 : 2.5. Scale to whole numbers (×10): 15 : 25. GCD is 5: 3 : 5. These examples show the range of ratio operations, all of which this calculator performs instantly with full working shown, helping you both get answers and understand the methods.

Related Calculators

Frequently Asked Questions

What is a ratio?
A ratio compares two quantities, showing how much of one there is relative to another. Written as “a : b” (a to b), it expresses a proportional relationship. For example, 2 : 3 means for every 2 of the first quantity, there are 3 of the second.
How do I simplify a ratio?
Divide both terms by their greatest common divisor (GCD). For 12 : 18, GCD is 6, so divide both by 6 to get 2 : 3. A ratio is fully simplified when the terms share no common factors (GCD = 1).
What are equivalent ratios?
Equivalent ratios represent the same relationship at different scales, like 2 : 3, 4 : 6, and 6 : 9. You create them by multiplying (or dividing) both terms by the same number. The calculator generates a table of them automatically.
How do I convert a ratio to a fraction?
Write the first term over the second: a : b becomes a/b. So 2 : 5 becomes 2/5. Note that for part-to-whole, each part goes over the total instead — in 2 : 3, the parts are 2/5 and 3/5 of the whole.
How do I convert a ratio to a percentage?
For part-to-whole, divide each part by the total and multiply by 100: in 2 : 3, the total is 5, so parts are 40% and 60%. For the ratio itself, divide first by second and multiply by 100: 2 : 5 = 40%.
What is an aspect ratio?
An aspect ratio is the proportional relationship between width and height, like 16 : 9 for widescreen. Find it by simplifying the dimensions: 1920 × 1080 simplifies to 16 : 9. It determines how images and video fit screens.
What is the difference between ratio and proportion?
A ratio compares two quantities (2 : 3). A proportion states that two ratios are equal (2 : 3 = 4 : 6). Proportions are solved using cross multiplication, which the calculator’s missing-value mode does.
Can ratios contain decimals?
Yes — the calculator accepts decimal ratios like 1.5 : 2.5. It scales them to whole numbers (15 : 25) then simplifies (3 : 5). Decimals, negatives, and large numbers are all supported.
Is this calculator accurate?
Yes — it uses the greatest common divisor for exact simplification and standard cross multiplication for proportions. Results are mathematically precise, with decimals scaled to integers before simplifying.
Can I solve missing ratios?
Yes — use “Missing value” mode, enter a proportion like 2 : x = 6 : 12, and leave one field blank (or type x). The calculator solves it by cross multiplication, showing the steps.
Can I print results?
Use the “📋 Copy” button to copy the result, then paste it into a document to print or save. The visualizations and step-by-step working are all displayed on screen.
Is it free?
Completely free, with no account or download needed. It runs entirely in your browser, works instantly, and keeps your data private.
Can I use it on mobile?
Yes — it’s fully responsive and works on phones, tablets, and desktops. The inputs, visualizations, and tables adapt to your screen size for easy use anywhere.
How are ratios used in cooking?
Recipes are ratios of ingredients. Scaling a recipe means preserving those ratios — doubling a recipe multiplies every ingredient by 2, keeping the ratio constant. Baking especially relies on precise ingredient ratios.
How are ratios used in finance?
Financial ratios like debt-to-equity, price-to-earnings, and current ratio analyze company health and investments. They express relationships between financial figures, enabling comparison across companies of different sizes.
How are ratios used in engineering?
Engineers use gear ratios, mixing ratios (for concrete, chemicals), slope ratios, and structural proportions. Ratios ensure correct proportions in design and manufacturing, where precise relationships between quantities are critical.
How are ratios used in maps?
Map scale is a ratio, like 1 : 50,000, meaning one unit on the map equals 50,000 units in reality. This lets large areas be represented at manageable sizes while preserving proportions.
Can I calculate screen ratios?
Yes — use “Aspect ratio” mode, enter width and height (like 1920 × 1080), and the calculator simplifies to the standard ratio (16 : 9), shows a visual preview, and identifies the orientation.
Can I scale ratios?
Yes — the “Equivalent ratios” mode generates scaled versions of your ratio (2 : 3 → 4 : 6, 6 : 9, etc.). Multiply both terms by any factor to scale a ratio up while preserving the proportion.
What is the simplest ratio?
The simplest form of a ratio has the smallest whole numbers possible, achieved when the terms’ GCD is 1. For example, 2 : 3 is simplest (GCD 1), while 12 : 18 is not (it reduces to 2 : 3).

Ratio vs Proportion: Understanding the Difference

Though often used together, ratio and proportion are distinct concepts. A ratio is a single comparison of two quantities — like 2 : 3, expressing a relationship. A proportion is an equation stating that two ratios are equal — like 2 : 3 = 4 : 6, or written as fractions, 2/3 = 4/6. Understanding this distinction unlocks a powerful problem-solving technique. When you know three parts of a proportion and need the fourth, you solve using cross multiplication: for a : b = c : d, the cross products are equal, so a × d = b × c. This lets you find any missing value. For example, if 3 apples cost $2 and you want to know the cost of 12 apples, set up the proportion 3 : 2 = 12 : x (apples to dollars). Cross multiply: 3 × x = 2 × 12, so 3x = 24, and x = $8. This proportional reasoning is one of the most practically useful math skills, applying to scaling recipes, converting currencies, calculating map distances, adjusting mixtures, and countless everyday situations. The calculator’s missing-value mode automates this: enter three values, leave one blank, and it solves the proportion with cross multiplication, showing each step. Proportions also underpin direct variation (as one quantity increases, the other increases proportionally) which describes many real-world relationships. Recognizing when a situation involves a proportion — whenever two ratios should be equal — and knowing how to solve it is a hallmark of strong quantitative thinking. Ratios describe relationships; proportions let you extend those relationships to find unknowns, making the two concepts a powerful pair for solving real problems.

The Golden Ratio and Special Ratios

Some ratios hold special significance in mathematics, art, and nature. The most famous is the golden ratio (φ ≈ 1.618), which occurs when the ratio of two quantities is equal to the ratio of their sum to the larger of the two quantities. It appears throughout nature (spiral shells, flower petals, branching patterns), art (classical paintings and sculpture), and architecture (the Parthenon, many modern designs), often associated with aesthetic harmony. A golden rectangle has a length-to-width ratio of φ : 1, and it’s considered especially pleasing to the eye. Another important special ratio is 1 : 1 (equality), representing perfect balance — square screens, 50/50 splits, and symmetric designs. The ratio √2 : 1 (about 1.414 : 1) defines the international paper size standard (A4, A3, etc.), chosen because folding such a sheet in half preserves the ratio, allowing consistent scaling. 3 : 2 is the classic 35mm photography ratio, and 16 : 9 the modern video standard. In music, ratios describe harmonic intervals — an octave is a 2 : 1 frequency ratio, a perfect fifth is 3 : 2. These special ratios show how the abstract concept of proportion manifests in the physical and creative world, connecting mathematics to beauty, function, and natural form. While this calculator handles any ratio you enter, recognizing these special ratios adds appreciation for why proportional relationships matter so deeply across human knowledge and the natural world. The pervasiveness of certain ratios hints at deep principles connecting mathematics, aesthetics, and the structure of reality itself.

Tips for Working with Ratios

To use ratios effectively, keep these practical tips in mind. Always simplify for clarity. A simplified ratio (2 : 3) communicates the relationship far more clearly than an unsimplified one (24 : 36), so reduce ratios before presenting them. Keep units consistent. Before forming a ratio, ensure both quantities are in the same units — comparing minutes to hours or meters to centimeters requires converting first. Mind the order. A ratio’s order reflects what’s being compared, so 2 : 3 (boys to girls) differs from 3 : 2 (girls to boys); label your ratios to avoid confusion. Distinguish part-to-part from part-to-whole. Decide whether you’re comparing parts to each other (2 : 3) or to the total (2/5 and 3/5), since this changes the fractions and percentages. Use equivalent ratios for scaling. To scale a recipe, mixture, or design, multiply all parts by the same factor, preserving the ratio. Cross multiply to solve proportions. When two ratios are equal and one value is unknown, cross multiplication finds it reliably. Check by simplifying. To verify two ratios are equivalent, simplify both — if they match, they’re equivalent. Use the right representation. Ratios, fractions, decimals, and percentages each suit different contexts; choose the clearest one for your audience. Watch for decimals. Decimal ratios should be scaled to whole numbers for the cleanest form. Following these practices helps you avoid common errors and communicate proportional relationships clearly. This calculator supports all of them — simplifying automatically, showing multiple representations, handling decimals, generating equivalents, and solving proportions — so you can focus on applying ratios to your actual problem rather than on the mechanics of calculation.

Simplify ratios instantly ➗

Master ratios and proportions — a free professional ratio calculator for math, design, cooking, and finance.

Open calculator ↑