Click to show tips
Try an Example
Pick a scenario to see how the calculator works, then adjust the values
Add Fractions
Add 1/2 + 1/3 and see the step-by-step solution.
Key values: 1/2 + 1/3 · Common denominators · Simplified result
Simplify a Fraction
Reduce 24/36 to its simplest form using GCD.
Key values: 24/36 · GCD method · Lowest terms
Decimal to Fraction
Convert 0.75 to a fraction and see the work.
Key values: 0.75 · Fraction conversion · Simplified
Mixed Number Division
Divide 2 1/4 by 1 1/2 with mixed number support.
Key values: 2 1/4 ÷ 1 1/2 · Mixed numbers · Step-by-step
About This Calculator
A fraction represents a part of a whole. The number above the line is the numerator (how many parts you have), and the number below is the denominator (how many equal parts the whole is divided into). In , you have 3 out of 4 equal parts.
This Fraction Calculator handles eight operations in a single tool: addition, subtraction, multiplication, division, simplification, comparison, decimal-to-fraction conversion, and fraction-to-decimal conversion. Every calculation produces a step-by-step solution panel showing the LCD calculation, equivalent fractions, GCD simplification, and mixed number conversion. A visual pie chart representation accompanies each result so you can see the fraction, not just compute it.
Toggle mixed number mode to work with numbers like directly. Purpose-built variants for cooking and construction come with contextual presets, and the built-in Quick Start scenarios let you explore realistic problems instantly.
How to Use
- Select an operation from the dropdown: Add, Subtract, Multiply, Divide, Simplify, Compare, Decimal to Fraction, or Fraction to Decimal.
- Toggle mixed numbers if you need whole-number parts (e.g., ). The whole number field appears automatically.
- Enter the first fraction — numerator and denominator. For Simplify, Fraction to Decimal, and Recipe Scaling, only the first fraction is needed.
- Enter the second fraction for operations that require two inputs (Add, Subtract, Multiply, Divide, Compare).
- For Decimal to Fraction, enter a decimal value instead. The calculator handles both terminating decimals (0.625) and repeating decimals (0.333...).
- Click Calculate to see the result displayed as a simplified fraction, decimal, percentage, and mixed number (when applicable), along with a step-by-step solution and pie chart visualization.
All Eight Operations
- Add — Combines two fractions using the least common denominator.
- Subtract — Finds the difference, which may be negative.
- Multiply — Multiplies numerators and denominators directly, then simplifies.
- Divide — Multiplies by the reciprocal of the second fraction.
- Simplify — Reduces a single fraction to lowest terms using the GCD.
- Compare — Determines which of two fractions is greater, less, or equal.
- Decimal to Fraction — Converts a decimal (terminating or repeating) to a simplified fraction.
- Fraction to Decimal — Converts a fraction to its decimal equivalent and identifies whether it terminates or repeats.
Formulas
Addition (LCD Method)
When adding , find the least common denominator :
Subtraction
Same approach, subtracting the adjusted numerators:
Multiplication
No common denominator needed. Multiply straight across:
Division
Flip the second fraction (take its reciprocal), then multiply. Requires :
Simplification (GCD)
Divide both numerator and denominator by their greatest common divisor. The GCD is computed using the Euclidean algorithm: , with base case .
LCM (Least Common Multiple)
Used to find the LCD for addition and subtraction:
Comparison (Cross Multiplication)
To compare and , compute and . If , the first fraction is larger. If , they are equal.
Mixed Number Conversion
To convert a mixed number to an improper fraction:
To convert back, divide the numerator by the denominator:
Decimal to Fraction
For a terminating decimal with digits after the point, write it over and simplify. For a repeating decimal with repeating digits:
For mixed repeating decimals with non-repeating digits followed by repeating digits:
Worked Examples
Example 1: Student Homework — Adding Unlike Fractions
A 5th grader needs to solve for homework. The denominators are different, so we need the LCD.
- Find the LCD: .
- Convert each fraction: .
- Add the numerators: .
- Check simplification: — already in lowest terms.
Example 2: Construction — Subtracting Mixed Numbers
A carpenter has a board that is inches wide and needs to remove inches for a dado joint. How wide is the remaining piece?
- Convert to improper fractions: and .
- Find the LCD: .
- Convert and subtract: .
- Simplify: — already in lowest terms.
- Convert to mixed number: .
Example 3: Cooking — Scaling a Recipe
A recipe calls for cup of flour. You want to double it. Doubling means multiplying by 2:
- Set up the multiplication: .
- Multiply numerators and denominators: .
- Simplify: , so .
- Convert to mixed number: cups.
Mixed Numbers
A mixed number combines a whole number with a proper fraction: means "two and three-quarters." Toggle the Use Mixed Numbers checkbox to enter whole-number parts directly.
Internally, the calculator converts every mixed number to an improper fraction before performing any operation. For example, . After the calculation, if the result is an improper fraction, it is automatically converted back to a mixed number for display.
Negative mixed numbers: If you enter a negative whole part (say, with fraction ), the calculator treats this as . The sign applies to the entire quantity, not just the whole part.
Decimal Conversions
Terminating vs. Repeating Decimals
A fraction produces a terminating decimal when its denominator (in lowest terms) has only 2 and 5 as prime factors. For instance, terminates because : the result is 0.375 exactly.
If the denominator contains any other prime factor, the decimal repeats. The classic example is .
The Repeating Decimal Formula
To convert a purely repeating decimal where has digits, use the algebraic trick: multiply by , subtract the original, and solve.
For a mixed repeating decimal like (which equals ), the general formula accounts for both the non-repeating and repeating portions.
Reading the Step-by-Step Panel
After each calculation, the Step-by-Step Solution panel breaks the work into numbered steps. Here is what you will typically see:
- Original problem — the fractions and operation as you entered them.
- Mixed number conversion — if applicable, the conversion from mixed numbers to improper fractions.
- LCD calculation — the least common denominator and how each fraction is adjusted (for addition and subtraction).
- Numerator arithmetic — the actual addition, subtraction, or multiplication of numerators.
- GCD simplification — finding the GCD and dividing both parts of the result.
- Final result — the simplified fraction, mixed number, decimal, and percentage.
Each step includes the LaTeX formula so you can follow the exact math. Use this panel for homework verification or to learn the method yourself.
A Brief History of Fraction Notation
Fractions are ancient. The Rhind Papyrus (c. 1650 BC) from Egypt records tables of unit fractions — fractions with numerator 1 — written with a mouth-shaped hieroglyph above the denominator. The Egyptians worked almost exclusively with unit fractions, decomposing values like into sums such as .
Indian mathematicians (Brahmagupta, c. 628 AD) wrote one number above another without a bar. Arab scholars later added the horizontal line (the vinculum), and al-Khwarizmi transmitted this notation westward. Fibonacci brought Hindu-Arabic numerals and fraction notation to Europe in 1202 through his Liber Abaci. The slash (/) as an inline separator emerged in the 18th century.
Common Misconceptions
| Misconception | Why It Is Wrong |
|---|---|
| (add tops and bottoms) | You must find a common denominator first: . |
| A larger denominator means a larger fraction (e.g., ) | A larger denominator means smaller pieces: . |
| Forgetting to simplify the final answer | Always reduce to lowest terms using the GCD. The calculator does this automatically. |
| Improper fractions like are not "real" fractions | Improper fractions are valid — they simply represent values greater than 1. |
| Cross-multiplying when multiplying fractions | Cross-multiplication is for comparing fractions or solving proportions, not for multiplying them. |
| Forgetting to flip the second fraction when dividing | Division means multiplying by the reciprocal. The second fraction must be inverted. |
| Thinking is the same as | (valid), but is undefined. |
| "Multiplying makes bigger" (from whole-number intuition) | , which is smaller than either operand. |
| is different from | Both equal . The negative sign can go on either the numerator or denominator. |
Frequently Asked Questions
How do I add fractions with different denominators?
Find the least common denominator (LCD) of both denominators, convert each fraction to an equivalent fraction with that LCD, then add the numerators. For example, to add , the LCD is 12: . The calculator finds the LCD automatically and shows each conversion step.
What is a mixed number?
A mixed number has a whole-number part and a fraction part, like (three and a half). To compute with mixed numbers, convert them to improper fractions first: . Toggle "Use Mixed Numbers" in the calculator to enter them directly.
When does a fraction produce a repeating decimal?
A fraction in lowest terms produces a repeating decimal when its denominator has a prime factor other than 2 or 5. So terminates (since ), but repeats (since 3 is not 2 or 5). The length of the repeating block depends on the denominator. For , the block is 6 digits long: .
What if the denominator is zero?
Division by zero is undefined in mathematics. The calculator validates inputs and shows a clear error message if any denominator is zero. Similarly, dividing by a fraction whose numerator is zero (e.g., ) is caught before computation.
Can I enter negative fractions?
Yes. Enter a negative numerator or negative denominator — the calculator normalizes the sign. For instance, is treated as . Negative results (such as subtracting a larger fraction from a smaller one) are displayed correctly.
Is this calculator free?
Yes, completely free with no sign-up required. The step-by-step solutions, pie chart visualizations, and all eight operations are available without restriction. Competitors like Mathway and Symbolab paywall their step-by-step explanations — this calculator does not.
References
- Weisstein, Eric W. “Fraction.” MathWorld — A Wolfram Web Resource. https://mathworld.wolfram.com/Fraction.html
- Encyclopaedia Britannica. “Euclidean algorithm.” https://www.britannica.com/science/Euclidean-algorithm
- Wikipedia. “Euclidean algorithm.” https://en.wikipedia.org/wiki/Euclidean_algorithm
- MacTutor History of Mathematics. “Babylonian mathematics.” University of St Andrews. https://mathshistory.st-andrews.ac.uk/HistTopics/Babylonian_mathematics/
- Weisstein, Eric W. “Least Common Multiple.” MathWorld — A Wolfram Web Resource. https://mathworld.wolfram.com/LeastCommonMultiple.html
Disclaimer
This calculator is provided for educational and informational purposes only. While the underlying algorithms (Euclidean GCD, LCD via LCM, cross-multiplication comparison) are mathematically precise for integer inputs, floating-point limitations may affect decimal representations of very long repeating decimals. Always verify critical calculations — particularly in professional contexts such as construction measurements, medication dosages, or financial computations — through independent means.
Specialized Calculators
Choose from 5 specialized versions of this calculator, each optimized for specific use cases and calculation methods.
Purpose
3 CalculatorsConversion
2 CalculatorsRelated Calculators
6 CalculatorsMore Math calculators