Fraction Calculator
Perform operations on fractions, convert between fraction and decimal, and simplify results.
- If denominator is zero the calculator will show an error.
- For decimal → fraction, the algorithm finds the closest fraction within the max denominator.
Fraction Calculator
This fraction calculator can perform operations such as addition, subtraction, multiplication, division, simplification, and conversion between fractions and decimals. The numbers above the line represent numerators, while the numbers below represent denominators.
Understanding Fractions
A fraction represents part of a whole and is made up of two numbers: the numerator (top) and denominator (bottom). For example, in the fraction:
The numerator is 3 and the denominator is 8. If you imagine a pie cut into 8 slices, eating 3 slices means 3/8 of the pie is consumed, while 5/8 remains. Note: the denominator cannot be zero, as division by zero is undefined.
Operations with Fractions
Addition of Fractions
When adding fractions, a common denominator is needed. The general formula is:
Example:
This works for more than two fractions as well:
Finding the Least Common Denominator
A more efficient method is to use the Least Common Multiple (LCM) of the denominators:
Example:
Subtraction of Fractions
Fraction subtraction also requires a common denominator:
Example:
Multiplication of Fractions
To multiply fractions, simply multiply numerators and denominators:
Example:
Division of Fractions
Dividing fractions means multiplying the first by the reciprocal of the second:
Example:
Simplifying Fractions
Fractions can be simplified by dividing numerator and denominator by their greatest common divisor (GCD).
Example:
Converting Decimals to Fractions
Each decimal place corresponds to a power of 10. For example:
Converting Fractions to Decimals
Fractions can be turned into decimals through division. For instance:
