To find a fraction of a whole number, divide the number into equal parts, then take the number of parts you need. For example, two thirds of 18 is 12.
\[\frac{n}{d}\text{ of }W=\frac{n\times W}{d}\qquad(d\ne0)\]
\(n\) is the numerator (top), \(d\) is the denominator (bottom), and \(W\) is the starting quantity.
Fraction of a whole number calculator
Use whole numbers of zero or more. The denominator must be at least 1. Answers stay exact, including when the result is a fraction.
What does a fraction mean?
A fraction \(\frac{n}{d}\) represents division: \(n\div d\), with \(d\ne0\). A proper fraction such as \(\frac{2}{3}\) lies between 0 and 1. Fractions can also equal a whole number, such as \(\frac{4}{4}=1\), or be greater than 1, such as \(\frac{7}{4}=1\frac{3}{4}\).

Find two thirds of 18
Share first, then select
- The denominator is 3, so divide 18 into 3 equal groups: \(18\div3=6\).
- The numerator is 2, so take 2 groups: \(2\times6=12\).
\[\frac{2}{3}\times18=12\]
If there are 18 counters, two thirds of them is 12 counters.
Three quarters of 20
\[\frac{3}{4}\times20=3\times(20\div4)=3\times5=15\]
Dividing first keeps the numbers small when the whole number is divisible by the denominator.
The result does not have to be a whole number
One quarter of 3 meters is:
\[\frac{1}{4}\times3=\frac{3}{4}=0.75\text{ meters}\]
For individual objects that cannot be split, a fractional answer may mean the quantity cannot be shared in the requested way without cutting or changing the objects.
Multiply or divide first? Both \((n\times W)\div d\) and \(n\times(W\div d)\) give the same exact answer. Do not round an intermediate division.
Check your understanding
Find one quarter of 36, five halves of 8, and zero thirds of 18.
Show answers
\[\frac14\times36=9\qquad \frac52\times8=20\qquad \frac03\times18=0\]
Five halves is greater than one whole, so five halves of 8 is greater than 8.
To add, subtract, multiply, divide, or compare fractions, use the fraction calculator.