Drag the shaded edge. Both fractions share one whole.
Fraction Bars simulator
Drag the shaded edge
This simulation needs a modern browser with canvas support. The measurements and formula below still describe the physics.
Live measurements
Controls
Formula
length = n / d
Observations
What's happening
Real-world examples
Two quarters
2/4 and 1/2 shade the same length. The bars are the same width, so the picture and the value agree.
Half plus a third
1/2 + 1/3 = 5/6. The shaded length matches. The page does not draw 2/5.
Five quarters
5/4 fills one whole bar and one quarter of the next. That is two wholes on the page, the second one partly shaded.
▸ More about
Uses of fraction bars
- Seeing why one half and two quarters match
- Adding one half and one third on one whole
- Checking a picture before the fraction calculator
fraction bars pitfalls
- Drawing 2/4 shorter than 1/2
- Adding the denominators to make 2/5
- Leaving a slice that is not an equal part
fraction bars questions(8)
What is a fraction bar?
A fraction bar is one whole cut into equal parts, with some of those parts shaded. The denominator is the number of parts. The numerator is how many are shaded.
Why do 2/4 and 1/2 look the same length?
They name the same amount of the same whole. Two of four equal parts cover the same length as one of two equal parts. The bars on this page share that width.
How does 1/2 + 1/3 become 5/6?
The wholes match, so the parts have to match too. Half of six parts is three, a third of six parts is two, and three plus two is five. The sum bar is 5/6 of the same whole. It is not 2/5.
What if the drag stops between the lines?
It does not stay there. The edge snaps to the nearest equal part, so the picture is still a fraction of one whole.
Where is 5/4?
Five quarters is more than one whole. The page draws one full bar and a second bar with one of four parts shaded.
Can I subtract?
Yes, when the first fraction is at least as long as the second. If it is shorter, the result stays at zero. The page does not shade a negative length.
Does this multiply, divide, or take a mixed number?
No. Multiply, divide, and a typed mixed number stay on the fraction calculator. This page is the shared-whole picture.
Does this page upload the fractions?
No. The bars, the circles, and the sum are computed in the browser. What you enter stays on your device.