Fraction Calculator
Calculate exact fractions, mixed numbers and decimal forms.
Methods
Arithmetic, compare and reciprocal
Sources
Fractions, mixed and decimals
Results
Exact values and worked steps
Fraction inputs
Keep exact values and follow the working.
Signed integer source text; decimals are supported through the decimal input format.
Operation and source formats
All four results remain in the table; choose which method to expand.
Only the decimal display is rounded; exact values are retained.
A long expansion is explicitly marked as truncated.
Integer source fields support sixty digits. Decimal sources support sixty significant digits and scientific exponents from negative one hundred through positive one hundred; repeating entries support sixty total digits. Rounded displays use half-away-from-zero rounding and compact scientific notation for very large or sub-resolution nonzero values. Very long exact expressions scroll on screen; print uses a compact notice while CSV retains all digits.
Sum
Mixed-number decomposition
- Rounded decimal
- Percentage
Results use exact integer arithmetic. Reduced fractions have positive denominators; the minus sign of a mixed number applies to the entire value. Rounded decimal and percentage views do not replace the exact answer.
Decimal expansion
Exact terminating decimal expansion.
Compare the two input values
This comparison uses exact integer products, even when the rounded decimal displays look identical.
Formula for the selected method
Each source is normalized before the operation. Addition and subtraction use a least common denominator; multiplication can cancel cross factors; division requires a nonzero divisor. Reciprocals require a nonzero value.
Your fraction calculation step by step
Normalize the first value
Convert the source to an integer fraction, put any sign outside a positive denominator, then reduce by the greatest common divisor.
Greatest common divisor for the first value
Dividing both integer parts by this positive divisor preserves the exact value. A zero numerator reduces to zero with denominator one.
Normalize the second value
Convert the source to an integer fraction, put any sign outside a positive denominator, then reduce by the greatest common divisor.
Greatest common divisor for the second value
Dividing both integer parts by this positive divisor preserves the exact value. A zero numerator reduces to zero with denominator one.
Find the least common denominator
Use the least positive common multiple of the normalized denominators instead of multiplying them unnecessarily.
Rewrite and combine the numerators
Combine numerators over the shared denominator and reduce the result to lowest terms.
Inputs saved with this calculation
- Calculation mode
- all
- Worked operation
- add
- First source value
- format: fraction; numerator: 3; denominator: 4
- Second source value
- format: fraction; numerator: 2; denominator: 5
- Rounded decimal places
- 6
- Maximum decimal expansion digits
- 40
All result forms
Every input value and requested operation is retained in the table. Fractions and mixed decompositions are exact; approximate decimal or percentage displays are marked. Undefined quotient and reciprocal cases have an explanation rather than a false zero.
| Quantity | Reduced fraction | Mixed decomposition | Rounded decimal | Percentage |
|---|---|---|---|---|
| First value | ||||
| Second value | ||||
| Sum | ||||
| Difference | ||||
| Product | ||||
| Quotient |
Methods
Arithmetic, compare and reciprocal
Sources
Fractions, mixed and decimals
Results
Exact values and worked steps
Work with a fraction's value and its different representations
Exact arithmetic with two values
Add, subtract, multiply or divide fractions without converting the inputs into rounded decimals first. Choose all four arithmetic results together or focus on one method. Compare the same exact inputs with an integer-based relationship, or swap their order to see how subtraction and division change while addition and multiplication retain the same result.
Mixed-number and decimal conversion
Enter a signed mixed number or a decimal directly, then inspect the normalized integer fraction and its reduced form. Parenthesized repeating digits distinguish an infinite recurring decimal from a finite approximation. Mixed decompositions show how whole units and a proper remainder describe the same magnitude, with an explicit convention for a negative sign on the complete mixed number.
Working that explains each operation
Follow greatest-common-divisor reduction, least-common-denominator rewriting, cross-cancellation and reciprocal steps. Rounded decimal and percentage views sit beside exact values rather than replace them. A long-division view identifies a terminating or detected repeating expansion and states when its digit budget was reached, keeping a shortened display from becoming a false claim about the exact number.
Fraction formulas and step-by-step examples
For integer numerators and nonzero denominators , normalize denominator signs before working with the values. A reduced fraction removes the positive greatest common divisor from both integer parts. Division has the additional requirement , because a valid fraction with a zero numerator is zero and cannot be inverted. These conditions are different from rejecting a zero source denominator.
The product of the denominators is a valid common denominator for addition and subtraction, but the calculator uses their least common multiple after normalization when a smaller shared denominator is available. Once both denominators are positive, the scaled integer numerators can also be compared exactly. A mixed-number sign is interpreted on the full magnitude, so a negative mixed source becomes for a nonnegative whole magnitude and a proper fractional part .
Normalize the two default source fractions
Start with and . Both denominators are already positive and both numerator-denominator pairs have greatest common divisor . Their exact values remain and . If the first source were , normalization would give the same positive value . A source such as would instead be invalid; it is never replaced by a more convenient fraction.
Add or subtract equal-sized fractional parts
The least common denominator is . Rewrite the values as and . Addition gives , with mixed decomposition and decimal . Subtraction gives . The numerators change when the denominators are scaled; changing only the denominator would change the source value and would not be an equivalent-fraction step.
Multiply directly or divide by a nonzero reciprocal
Multiplication gives . Division replaces the second value with its reciprocal, giving . The default all-operations view therefore retains the four results , , and . If the second numerator becomes zero while its denominator remains valid, the first three operations still have valid results but the quotient is undefined.
Verify a repeating decimal and a signed mixed value
For , shifting the nonrepeating prefix and one repeating digit gives , hence . The parenthesized source syntax records the indefinitely repeating block explicitly. Separately, a mixed source with signed whole part and fractional part represents . Both sources become exact integer fractions before any arithmetic or display rounding is applied.
Distinguish an exact representation from a shortened display
The OpenStax fraction arithmetic overview reviews equivalent fractions and the standard operations. Its decimals and fractions section discusses terminating and repeating representations. The worked calculations here are independently evaluated examples. This tool additionally states its input bounds, mixed-sign convention, display rounding and expansion digit limit so the computed output has a clear interpretation.
Preserve the exact value while making each step easier to inspect
Reliable integer arithmetic
- Integer source text is retained without silent truncation or floating-point conversion.
- Negative fraction denominators are normalized visibly; a zero denominator remains an error.
- Common denominators and arithmetic products use exact integers beyond ordinary safe-number precision.
- Zero divisors are explained independently of invalid source fractions, preserving other valid results.
Representations with clear limits
- Reduced fractions and mixed decompositions are exact, while rounded equivalents are marked when approximate.
- Repeating decimal input uses a defined parenthesis grammar and converts exactly before arithmetic.
- Decimal expansion limits stop the display explicitly instead of pretending a partial cycle is complete.
- Active-source records, editable sharing and complete CSV retain enough information to reproduce a result.
Fraction support for classroom practice and proportional quantities
Students learning the reason behind a rule
Use the worked-operation selector to focus on one arithmetic method while preserving all four answers in the table. Check why denominators must match for addition, why factors may cancel in a product, and why a divisor cannot be zero. Compare the reduced answer with an exact mixed decomposition and a decimal expansion so the relationships between representations stay visible during practice.
People combining or scaling measurements
Work with fractional quantities before choosing a rounded display for practical use. Source values must refer to compatible quantities when they are added or compared; this calculator does not infer measurement units or convert between them. Mixed input can express a whole amount plus a fractional remainder, while exact arithmetic avoids accumulating display-rounding errors when several manual calculations are checked separately.
Teachers comparing examples and edge cases
Test a negative denominator, a zero numerator, an improper fraction or a recurring decimal without losing the entered source. Show why two nearby fractions may share a rounded decimal yet remain unequal. The all-results view and print record can support a lesson with a clear distinction between a valid zero value, an invalid zero denominator and an undefined division by zero.
How it works in three quick steps.
Choose the operation and identify each source format
Start with all four arithmetic operations or focus on addition, subtraction, multiplication, division, comparison, simplification or a reciprocal. Each required value can use integer numerator and denominator fields, a mixed number, or a decimal source. Changing a source format loads an example for that value while changing the operation preserves existing sources.
Enter exact values and select readable display settings
Enter signed integers without decimal truncation. Fraction denominators may be negative but cannot be zero; mixed-number fractional parts use positive denominators and an overall sign on the whole part. Decimal sources accept scientific e notation or a parenthesized repeating block. Choose rounded decimal places and a long-division digit limit independently of the exact arithmetic.
Follow the method and save every result form
Review normalized inputs, the least common denominator or cross-cancellation steps, and the exact result. Compare mixed decompositions, rounded decimal and percentage forms, plus terminating, repeating or explicitly truncated decimal expansions. In the all-operations view, select the worked method while retaining all four results. Copy, share, download the full CSV or print and save a PDF with the source record.
Keep the source, exact values and worked method together
Download every requested result
The CSV contains the active operation, input formats and original source strings, followed by every requested result row. Exact numerator and denominator fields remain strings, preserving large integers for later inspection. Mixed forms, rounded decimals, percentages and expansion statuses stay attached to the same value. A comparison also retains its common denominator and scaled numerators instead of exporting an isolated ordering label.
Print the working or save a PDF
Review the browser's print preview before choosing a printer or Save as PDF. Editing controls and site navigation are removed while the result, mathematical steps, input record and complete native table remain. Landscape orientation gives the result-form columns more room. Very long exact expressions and expansions use an explicit compact notice in print; the CSV remains the complete digit-preserving record for those unusually large cases.
Share an editable fraction example
A shared URL fragment contains only active validated fields, including decimal source text and the chosen display settings. A recipient can inspect the same assumptions and edit the example. Copy summary provides a plain-text record for notes. Reset restores the original fractions and clears the fragment. Changing the arithmetic operation preserves current operands, while changing an input format deliberately loads a relevant example for that value.
Frequently Asked Questions
What can this fraction calculator calculate?
How do I simplify a fraction or enter a negative denominator?
How should I type a negative mixed number?
Can I convert terminating or repeating decimals into fractions?
Why do addition and subtraction need a common denominator?
How does cross-cancellation help multiplication?
When is division by a fraction or a reciprocal undefined?
How are rounded decimals different from repeating-decimal expansions?
Can this compare very large fractions accurately?
Can I save or share the full fraction calculation?
Related calculators
About this exact fraction arithmetic and conversion tool
Toolarithm's Fraction Calculator treats an input as an exact rational value before presenting alternative forms. A numerator and denominator, a mixed number and a repeating decimal can describe the same value, but their written appearance can make different mathematical properties easier to see. The editor therefore keeps source formats distinct while normalizing their values for arithmetic. This allows a learner to compare representations without confusing a shortened decimal display with the fraction itself.
The arithmetic engine uses integer strings and rational operations rather than converting everything into binary floating-point numbers. Input fractions reduce by a greatest common divisor, normalized denominators stay positive, and addition or subtraction can use a least common denominator. Multiplication exposes cross-cancellation factors. Division and reciprocal calculations make their nonzero requirements explicit. Comparison uses exact integer relationships, preserving distinctions between large or closely spaced fractions that may appear identical after decimal rounding.
Display choices are deliberately separate from those exact calculations. Mixed decompositions show a whole magnitude and proper remainder, while a negative sign applies to the complete mixed value. Rounded decimal and percentage views use a stated rounding rule. Long division detects completed recurring patterns and marks a digit-limited expansion as truncated when necessary. Accessible LaTeX and MathML keep the authored guide and computed working available to assistive technology, including the server-rendered default results without JavaScript. Sharing, copying, CSV and print preserve the assumptions and result status so a saved answer remains mathematically reviewable rather than becoming an unexplained fraction in isolation.
Who maintains this page
Ownership and review
Written and maintained by the Toolarithm editorial team. No review date is shown without a maintained editorial record. No independent professional review is claimed.
Methodology
Equations are checked by substituting worked examples into the stated relationship and comparing the result with the interactive implementation.
Read the editorial methodologyDates and sources
Review dates change only after a substantive method or content check.
Keep building