How the Fraction Calculator Works
Fraction arithmetic is performed with integer numerators and denominators, then reduced to lowest terms using the greatest common divisor. Mixed numbers are converted to improper fractions internally before the selected operation is applied.
Worked example: mixed-number addition
Entering 1 1/2 + 2 1/4 converts the mixed numbers to 3/2 and 9/4 internally. The common-denominator calculation gives 6/4 + 9/4 = 15/4, which is displayed as 3 3/4 and 3.75.
1 1/2 + 2 1/4
3/2 + 9/4
6/4 + 9/4
15/4 = 3 3/4 = 3.75
Worked example: decimal to fraction
Entering 3.125 uses the three typed decimal places to create 3125/1000. The calculator then simplifies the fraction to 25/8, which is also 3 1/8.
3.125
= 3125/1000
= 25/8
= 3 1/8
Repeating decimals are not inferred
If you enter 0.333, the calculator converts exactly those three digits, producing 333/1000. It does not assume you meant the repeating value 0.3333… = 1/3.
Negative values and denominator signs
The calculator accepts negative whole numbers, numerators and denominators. Internally it normalizes the sign so the denominator is positive and the sign is carried by the numerator. For mixed-number entry, the current logic treats the combined sign based on the signs present in the whole, numerator and denominator fields.
Division by zero
A denominator of zero is rejected because a fraction with denominator zero is undefined. Division by a second fraction whose numerator is zero is also blocked because that would amount to division by zero.
Precision and large-number limits
The calculator uses JavaScript Number arithmetic for entered values and decimal conversion. For ordinary classroom, recipe and measurement values this is appropriate, but extremely large integers or very long decimal inputs can exceed exact integer precision or introduce floating-point rounding behavior.
Common input mistakes
- Entering 0 as a denominator.
- Typing a repeating decimal as a shortened finite value and expecting the exact repeating fraction.
- Forgetting that a mixed number such as 2 1/3 is not the same as 2/3.
- Using extremely large values that exceed exact JavaScript integer precision.
Related Utiliverse Tools
Last reviewed: October 2026 · Fraction arithmetic, mixed-number handling, simplification, decimal conversion and display precision reviewed against the current implementation.
Fraction Math Quick Reference
The calculator handles fraction arithmetic automatically, but these rules explain the operations behind the result and match the most common fraction-calculator tasks.
| Task | Rule | Example |
|---|---|---|
| Add fractions | Use a common denominator, add numerators, then simplify. | 1/3 + 1/4 = 4/12 + 3/12 = 7/12 |
| Subtract fractions | Use a common denominator, subtract numerators, then simplify. | 3/4 − 1/6 = 9/12 − 2/12 = 7/12 |
| Multiply fractions | Multiply numerators and denominators, then simplify. | 2/3 × 3/5 = 6/15 = 2/5 |
| Divide fractions | Multiply by the reciprocal of the second fraction. | 3/4 ÷ 2/5 = 3/4 × 5/2 = 15/8 = 1 7/8 |
| Simplify a fraction | Divide numerator and denominator by their greatest common divisor. | 12/18 ÷ 6 = 2/3 |
| Mixed number → improper | Whole × denominator + numerator; keep the denominator. | 2 1/3 = 7/3 |
| Improper → mixed number | Divide numerator by denominator; use the quotient and remainder. | 11/4 = 2 3/4 |
| Fraction → decimal | Divide numerator by denominator. | 5/8 = 0.625 |
| Decimal → fraction | Write the finite decimal over a power of 10, then reduce. | 0.375 = 375/1000 = 3/8 |
How to simplify fractions
A fraction is simplified by dividing its numerator and denominator by their greatest common divisor. For example, 18/24 has a greatest common divisor of 6, so 18 ÷ 6 = 3 and 24 ÷ 6 = 4. The simplified result is 3/4. This calculator applies that reduction automatically after fraction arithmetic and decimal-to-fraction conversion.
Mixed number calculator
Enter the whole-number part separately from the numerator and denominator. A mixed number such as 3 2/5 becomes 17/5 internally before addition, subtraction, multiplication or division. When the result is an improper fraction, the calculator can also show the equivalent mixed number.
Proper fractions, improper fractions, and whole-number results
A proper fraction has a numerator smaller than its denominator, such as 3/5. An improper fraction has a numerator greater than or equal to its denominator, such as 9/4. If a simplified denominator becomes 1, the result is displayed as a whole number rather than as a fraction over 1.
Fractions with unlike denominators
For addition and subtraction, fractions with different denominators must be represented using a common denominator. The calculator performs the equivalent cross-multiplication automatically, so you do not need to find the least common denominator manually before entering the values.
How to Use the Fraction Calculator
This fraction calculator handles the most common fraction operations in one place. You can add, subtract, multiply or divide proper fractions, improper fractions and mixed numbers. The result is reduced to simplest form and can also be displayed as a mixed number and decimal when appropriate.
Add and subtract fractions
When two fractions have different denominators, they must be expressed using a common denominator before their numerators can be combined. For example, 1/3 + 1/4 can be rewritten as 4/12 + 3/12, which equals 7/12. The calculator performs the equivalent arithmetic automatically and reduces the final answer when possible.
Mixed numbers are supported as well. Enter the whole-number portion in the Whole field and the fractional portion in the numerator and denominator fields. A value such as 2 1/2 is converted internally to an improper fraction for the calculation, then presented in a readable form in the result.
Multiply fractions
To multiply fractions, multiply the numerators together and multiply the denominators together. For example, 2/3 × 3/5 produces 6/15, which simplifies to 2/5. The calculator automatically reduces the product to lowest terms using the greatest common divisor.
Divide fractions
Dividing by a fraction is equivalent to multiplying by its reciprocal. For example, 3/4 ÷ 2/5 becomes 3/4 × 5/2, which equals 15/8 or 1 7/8. A denominator of zero is not valid, and this calculator blocks undefined division-by-zero operations.
Decimal to fraction calculator
The Decimal to Fraction tab converts a terminating decimal into an equivalent fraction. A decimal such as 0.75 represents 75 hundredths, or 75/100. Dividing the numerator and denominator by their greatest common divisor reduces that value to 3/4. Likewise, 3.125 becomes 3125/1000 and simplifies to 25/8, which is also 3 1/8.
The converter uses the number of decimal places you enter to build the denominator as a power of ten, then reduces the fraction. Because the input is finite, repeating decimals such as 0.333... are treated according to the exact digits entered rather than as an infinite repeating value.
Fraction to decimal calculator
Converting a fraction to a decimal is done by dividing the numerator by the denominator. For example, 3/4 equals 0.75 and 5/8 equals 0.625. You can also enter a mixed number such as 2 1/4, which converts to 2.25.
What does simplest form mean?
A fraction is in simplest form, or lowest terms, when the numerator and denominator no longer share a common factor greater than one. For example, 12/18 simplifies to 2/3 because both 12 and 18 can be divided by 6. Reducing fractions makes equivalent values easier to compare and use in later calculations.
Common uses for fraction calculations
Fraction math appears in recipes, measurements, carpentry, construction, schoolwork, engineering and everyday comparisons. A cook may need to double 3/4 cup, a carpenter may add several fractional-inch measurements, or a student may need to verify a mixed-number calculation. Decimal conversion is also useful when a measurement written as a fraction must be entered into software that expects decimal values.
Use the tabs above to switch between fraction arithmetic, decimal-to-fraction conversion and fraction-to-decimal conversion without leaving the page.