Pie models
Each circle is one wholeFraction and Whole Number Calculator
- Improper
- Decimal
- Percent
See the answer
Every picture is drawn from the numbers above and redraws as you type.
Adding with fraction bars
Number line
Where each number sitsStep-by-step working
How Fraction and Whole Number Calculator Works?
Fraction and Whole Number Calculator works in 5 steps: it reads each input, converts every number to an improper fraction, applies the operation, simplifies the result by the greatest common divisor (GCD), and shows the answer in 4 forms.
-
Read the input
Each box takes a whole number, a fraction or a mixed number.
212 + 34 -
Convert
A whole number n becomes n/1. A mixed number becomes an improper fraction.
212 = 52 -
Operate
Add or subtract over the lowest common denominator (LCD). Multiply straight across. Divide by multiplying by the reciprocal.
104 + 34 = 134 -
Simplify
Divide the numerator and the denominator by their GCD.
GCD(13, 4) = 1 -
Show 4 forms
Mixed number, improper fraction, decimal and percentage, plus pictures and steps.
314 = 3.25 = 325%
The calculator keeps every number as 2 integers: a numerator and a denominator. No value is rounded during the calculation. The decimal form marks repeating digits with a bar, so 13 shows as 0.3̅.
The answer comes with 5 visual models: pie models, fraction bars, an area model, grouping bars and a number line. A step-by-step solution of 3 to 6 steps follows the same method taught in grade 4 and grade 5 classrooms and in courses such as Khan Academy and IXL Learning.
How to use the calculator
- Type the first number in the whole box, the fraction boxes or both.
- Pick an operation: + (addition), − (subtraction), × (multiplication) or ÷ (division).
- Type the second number.
- Read the answer, the pictures and the step-by-step solution. They update on every key press.
Press the + button beside a number to make it negative. Each box accepts up to 6 digits.
The calculator applies 4 rules, one for each arithmetic operation:
Adding
Turn mixed numbers into improper fractions, rewrite both over the lowest common denominator, then add the numerators.
Subtracting
Same as adding: find a common denominator, then subtract the numerators. The answer can be negative.
Multiplying
Multiply the numerators together and the denominators together. No common denominator is needed.
Dividing
Flip the second number (take its reciprocal) and multiply. Dividing by zero has no answer.
Fractions, mixed numbers and whole numbers in one place
This free calculator works with any mix of whole numbers, proper fractions, improper fractions and mixed numbers. It uses exact arithmetic, so answers are never rounded: you get the simplified fraction, the mixed number, the decimal (with repeating digits marked) and the percent.
The pictures make the maths visible. Pie models show how many wholes and pieces each number holds, fraction bars and the area model show what the operation does, and the number line shows where the answer sits. It is built for students checking homework, parents helping at home and teachers explaining fractions in class.
Fraction and Whole Number Calculator formula
The Fraction and Whole Number Calculator uses 6 formulas: 1 conversion formula for mixed numbers and 5 formulas for addition, subtraction, multiplication and the 2 directions of division.
The 4 parts of a mixed number
A mixed number has 4 parts: the whole number, the numerator, the fraction bar and the denominator.
Every formula starts the same way: write the whole number n as the fraction n/1. Then the rules of fraction arithmetic apply.
- Simplification: a/b = (a ÷ GCD) / (b ÷ GCD). Example: 20/6 has GCD 2, so 20/6 = 10/3.
- Decimal conversion: a/b = a ÷ b. Example: 3/8 = 0.375.
- Percentage: a/b × 100%. Example: 3/8 = 37.5%.
- Lowest common denominator: the least common multiple (LCM) of the 2 denominators. Example: LCM(4, 6) = 12.
Equivalent fractions keep the same value: 5 = 5/1 = 10/2 = 20/4.
| Operation | Formula | Example |
|---|---|---|
| Mixed number to improper fraction | wcd = w × d + cd | 234 = 2 × 4 + 34 = 114 |
| Addition | ab + n = a + n × bb | 34 + 2 = 3 + 84 = 234 |
| Subtraction | ab − n = a − n × bb | 114 − 2 = 11 − 84 = 34 |
| Multiplication | ab × n = a × nb | 34 × 5 = 154 = 334 |
| Fraction ÷ whole number | ab ÷ n = ab × n | 34 ÷ 2 = 34 × 2 = 38 |
| Whole number ÷ fraction | n ÷ ab = n × ba | 3 ÷ 34 = 3 × 43 = 4 |
More fraction calculators
Each one covers a single kind of problem and draws its own picture.
Multiplying
5 calculatorsDividing
6 calculatorsAdding and subtracting
3 calculatorsMixed numbers
3 calculatorsParts and converting
3 calculatorsFraction and Whole Number Calculator FAQ
How to calculate fractions with whole numbers?
To calculate fractions with whole numbers, write the whole number as a fraction over 1, then add, subtract, multiply or divide the 2 fractions. Each of the 4 operations uses 1 rule:
- Add: 3/4 + 2 = 3/4 + 8/4 = 11/4 = 2 3/4.
- Subtract: 3 − 3/4 = 12/4 − 3/4 = 9/4 = 2 1/4.
- Multiply: 2/3 × 4 = 8/3 = 2 2/3.
- Divide: 3/4 ÷ 2 = 3/4 × 1/2 = 3/8.
Addition and subtraction need a common denominator. Multiplication and division do not.
How to convert fractions with whole numbers?
To convert a mixed number to an improper fraction, multiply the whole number by the denominator and add the numerator: 2 3/8 = (2 × 8 + 3)/8 = 19/8.
To convert an improper fraction to a mixed number, divide the numerator by the denominator. 17/5 = 17 ÷ 5 = 3 remainder 2, so 17/5 = 3 2/5.
To convert a whole number to a fraction, write the whole number over 1 or as any equivalent fraction: 5 = 5/1 = 10/2 = 20/4.
Does the fraction and whole number calculator simplify answers?
Yes, the calculator simplifies every answer by dividing the numerator and the denominator by their greatest common divisor (GCD). 20/6 becomes 10/3, and the step-by-step solution shows the division.
Does the fraction and whole number calculator show steps?
Yes, the calculator shows a step-by-step solution of 3 to 6 steps for every answer. The steps cover conversion to improper fractions, the common denominator, the operation, simplification and the mixed number.
Can the calculator divide a whole number by a fraction?
Yes, the calculator divides a whole number by a fraction by multiplying the whole number by the reciprocal of the fraction. 3 ÷ 3/4 = 3 × 4/3 = 4. Type the whole number first, pick ÷, then type the fraction.
Does the calculator work with negative numbers?
Yes, the calculator works with negative fractions, negative mixed numbers and negative whole numbers. Press the + button beside a number to switch the number to negative. 3/4 − 2 = −1 1/4.
Which grades learn fractions with whole numbers?
Grade 4 and grade 5 students learn fractions with whole numbers under 3 Common Core State Standards (CCSS):
- 4.NF.B.3: adding and subtracting fractions and mixed numbers with like denominators.
- 4.NF.B.4: multiplying a fraction by a whole number.
- 5.NF.B.7: dividing unit fractions by whole numbers and whole numbers by unit fractions.
Is the fraction and whole number calculator free?
Yes, the fraction and whole number calculator is free, with no account, no download and no ads. The calculator runs in the browser on phones, tablets and computers.