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



Step-by-step guide to create a rainbow in a jar
Step 1
Gather all your materials and bring them to a flat table or countertop.
Step 2
Line up the 5 small cups in a row and number them 1 to 5 from left to right.
Step 3
Measure and pour 1/4 cup warm water into each cup.
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.
Step 5
Stir each cup with the spoon until all the sugar is fully dissolved.
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.
Step 7
Stir each cup so the color mixes evenly and the liquid looks the same color all the way through.
Step 8
Let the cups cool until the liquid is room temperature so layers do not mix from heat.
Step 9
Pour the most sugary blue cup (cup 5) into the bottom of the clear jar.
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.
Step 11
Repeat the slow back-of-spoon pour with the yellow cup (cup 3) to add the next layer.
Step 12
Repeat the slow back-of-spoon pour with the orange cup (cup 2) to add the next layer.
Step 13
Repeat the slow back-of-spoon pour with the red cup (cup 1) to add the top layer gently.
Step 14
Share a photo of your finished rainbow jar and what you observed about the layers on DIY.org.
Final steps
You're almost there! Complete all the steps, bring your creation to life, post it, and conquer the challenge!


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.
Watch videos on how to create a rainbow in a jar
How to Draw a Rainbow | Easy Step by Step Tutorial for Beginners
Facts about density and color mixing for kids
🌈 You can stack colorful sugar-water layers like a rainbow because each layer has a different density so they don’t mix right away
⚖️ Adding more sugar makes water heavier — denser solutions sink below lighter ones so you can build several distinct layers
🍭 Warm water dissolves sugar faster, so make syrups of different sweetness to create clear layers (ask an adult to handle hot water)
🌡️ Temperature changes density — warmer liquids are usually less dense and can rise, which may blur your rainbow if layers aren’t the same temperature
🎨 Food coloring mixes to make new shades, but mixing all the colors together often makes brown, so plan color order to keep it bright