Do the Rainbow
Create a rainbow in a jar using colored water layers, learn about density and color mixing through measuring, pouring, and observing safely.

About this activity
Create a rainbow in a jar using colored water layers, learn about density and color mixing through measuring, pouring, and observing safely.
What you need
Step by step
- 1
Step 1
Gather all your materials and bring them to a flat table or countertop.
- 2
Step 2
Line up the 5 small cups in a row and number them 1 to 5 from left to right.
- 3
Step 3
Measure and pour 1/4 cup warm water into each cup.
- 4
Step 4
Add sugar to the cups so each cup has more sugar than the last: cup 1 none cup 2 one tablespoon cup 3 two tablespoons cup 4 three tablespoons cup 5 four tablespoons.
- 5
Step 5
Stir each cup with the spoon until all the sugar is fully dissolved.
- 6
Step 6
Put 2 to 3 drops of food coloring into each cup to make these colors: cup 1 red cup 2 orange cup 3 yellow cup 4 green cup 5 blue.
- 7
Step 7
Stir each cup so the color mixes evenly and the liquid looks the same color all the way through.
- 8
Step 8
Let the cups cool until the liquid is room temperature so layers do not mix from heat.
- 9
Step 9
Pour the most sugary blue cup (cup 5) into the bottom of the clear jar.
- 10
Step 10
Hold a spoon with the back up inside the jar and slowly pour the green cup (cup 4) over the back of the spoon to make a second layer.
- 11
Step 11
Repeat the slow back-of-spoon pour with the yellow cup (cup 3) to add the next layer.
- 12
Step 12
Repeat the slow back-of-spoon pour with the orange cup (cup 2) to add the next layer.
- 13
Step 13
Repeat the slow back-of-spoon pour with the red cup (cup 1) to add the top layer gently.
- 14
Step 14
Share a photo of your finished rainbow jar and what you observed about the layers on DIY.org.
Fun facts
How do you make a rainbow in a jar using colored water layers?
To do Do the Rainbow, make several cups of colored water with increasing sugar concentrations to change density. Start by adding different amounts of sugar to equal volumes of warm water, then stir until dissolved and tint each cup with food coloring. Pour the densest (most sugar) layer into a clear jar first, then slowly add lighter layers over a spoon or down the jar side. Observe how colors stack and mix; supervise children and discuss density and color mixing.
What materials do I need to create a layered rainbow jar?
You'll need a clear glass or plastic jar, several small cups, measuring spoons and a measuring cup, warm water, granulated sugar, food coloring, a spoon for mixing, a ladle or tablespoon for pouring, and a towel. Optional: a funnel, pipette or dropper for careful layering, labels for each solution, and a protective mat or tray. Always have adult supervision and prepare solutions ahead to minimize spills.
What ages is the rainbow-in-a-jar activity suitable for?
This activity suits preschoolers to tweens with age-appropriate supervision. Ages 3–5 enjoy pouring and color play with close adult help; use pre-made layers for safety. Ages 6–8 can measure and help make sugar solutions while supervised. Ages 9–12 can mix, pour slowly using tools, and discuss density and color mixing more deeply. Adapt tasks to fine motor skills and always supervise younger children.
How can I keep kids safe while making a layered rainbow jar?
Keep kids safe by supervising every step, using food-safe ingredients and cool or room-temperature water only. Use plastic jars for younger children to avoid broken glass. Prevent tasting—explain colored sugar solutions are not for drinking—and wipe spills immediately to avoid sticky floors. Pre-measure sugar for little ones and let older children pour slowly over a spoon. Seal the jar when finished and label it; dispose of solutions down the drain with water.
Watch & Learn
Need help?
What can we substitute if we don't have a clear jar, numbered small cups, or food coloring?
Use a clean clear plastic bottle or glass and any small containers like yogurt cups labeled 1–5, and replace commercial food coloring with safe liquid watercolors or natural dyes (beet for red, turmeric for yellow, spinach for green) while keeping the step of increasing sugar in cups 1–5 the same.
My layers mixed or sank — what likely went wrong and how can I fix it?
Make sure each cup's sugar is fully dissolved by stirring until clear, let all cups cool to room temperature as instructed, and pour in order from the most sugary (cup 5) to the least while pouring very slowly over the back of a spoon to prevent mixing.
How can I adapt this activity for different age groups?
For younger children, have an adult pre-make and color the five solutions and assist with the slow back-of-spoon pouring or reduce to 3 layers, while older children can precisely measure sugar, add more gradations or test other liquids like corn syrup to study density.
How can we extend or personalize the finished rainbow jar?
After layering as instructed, add glitter or tiny beads between layers, seal and decorate the jar lid, and photograph the jar with notes about layer order and stability to upload to DIY.org as suggested.