Skip to main content

Sugar Rainbow Density Experiment

As a mother of two, Kathy loves trying new crafts with her kids.

With just sugar and water kids can learn about density by making this beautiful rainbow water

With just sugar and water kids can learn about density by making this beautiful rainbow water

Science in the Kitchen

Turn your kitchen into a science lab and create a beautiful rainbow in a glass while teaching your kids about density. It’s a fun chemistry experiment where kids can learn about density, mass, and volume. Even without the science, it’s a fun project to do on a rainy day.

So, head to the kitchen cabinets, pull out a few supplies, and create a lovely sugar water rainbow in a glass.


  • Food coloring
  • Water
  • Granulated table sugar
  • 4 glasses (at least one has to be clear to build your rainbow)
  • Serving spoon
  • Turkey baster
Have your child measure out the sugar into each individual glass

Have your child measure out the sugar into each individual glass

The Experiment

Start by adding sugar to each of the glasses. Each glass gets a different amount of sugar. The first gets 1 tablespoon, the second gets 2 tablespoons, the third gets 4 tablespoons, and the fourth gets a total of 8 tablespoons of sugar. The glass with 8 tablespoons of sugar needs to be the clear glass or the glass you want to build your rainbow in. It needs to hold at least 20 ounces of sugar/water solution.

To help keep the glasses straight, you may want to label each of the glasses with the amount of sugar they contain. Just put a sticky note under them and considered them labeled. You will need to know which one has how much sugar further down the line.

Next, add four tablespoons of hot water to each glass. Stir the sugar/water solution until all of the sugar is dissolved. The sugar must be completely dissolved. If it doesn’t seem to dissolve you can put the glass in the microwave for about 30 seconds and stir again. Eventually, it will dissolve.

Yay!!  Sugar water.   You can see how the blue water is cloudy... yep, it's pretty dense with sugar

Yay!! Sugar water. You can see how the blue water is cloudy... yep, it's pretty dense with sugar

After the sugar is completely dissolved, it's time to add color to each of the glasses. We chose traditional rainbow colors, blue, green, yellow, and red. You can choose any colors you want. Just know that the glass that has the most sugar in it will go on the bottom of the rainbow, the glass with 4 tablespoons of sugar will be next, and so forth. Use about 2-3 drops of food coloring per glass and then stir.

You must slowly drip the sugar/water solution for each layer. When you do the varying densities of the water will cause them to separate

You must slowly drip the sugar/water solution for each layer. When you do the varying densities of the water will cause them to separate

Now comes the hard (but yet extremely rewarding) part. Layering the colored solutions. Start with the glass that has the most sugar. Ours was blue. The glass with the most sugar is the glass in which we are building the rainbow. Next, grab the glass with four tablespoons of sugar. Ours was green. We are going to add that next to our glass. Using the turkey baster suck up the green solution. Then place the serving spoon into the glass with the backside facing up and the tip of the spoon touching the glass above the blue solution. Slowly release the green solution onto the spoon into the glass. Since the green solution has less sugar, it will rest above the blue solution. If you pour it into the glass too quickly, the two colors will mix. It does take a little finesse but is completely doable. Don’t worry if they mix a little at first, they will separate as long as you take it slowly. Repeat this process with each of the remaining colors. Keep in mind that the first color is the easiest to put on since it is the densest. Each additional color becomes more difficult to keep at a slow stream when pouring it onto the other colors.

Voila! You have a lovely rainbow in a glass! The solution will eventually mix, but it will remain separated for at least a day for the kids to enjoy. Beware though, they may want to drink it.

Awesome rainbow density water

Awesome rainbow density water

The Science Behind the Experiment

Now that we’ve made this awesome rainbow, let's talk about the science behind it.

Density = mass divided by volume

Mass = the amount of matter an object contains (amount of sugar)

Volume = the amount of space an object takes up (the more sugar the more space it takes up)

For each of the glasses, we added more sugar (matter) making the solution denser. You can even see from the individual glasses that even though they contain the same amount of water they contain varying volumes since we added different amounts of sugar to each glass. The water layers since each color we added were less dense than the one prior. The less-dense water solution floated to the top of the glass rather than mixing together.

More Density Experiments

  • What happens if you stir up your density rainbow? Will the colors separate again?
  • What would happen if you added the least dense sugar/water solution to the glass first?
  • Think about other liquids around your house that might have different densities. Could you layer them? Oil, corn syrup, maple syrup, salt water, dishwashing soap, rubbing alcohol?? Give it a try.
  • Try dissolving skittles into water. Use different amounts of skittles into 4 tablespoons of water. Try 2 red, 4 orange, 6 yellow, 8 green, and 10 purple. What would happen if you layered them?
  • Is saltwater denser than sugar water? Try it, and see.
  • Temperature can also affect density. Try layering different colors of water only. Use hot water, cold water, and room temperature water. Can you figure out which is denser?
  • You can always do this same experiment with more colors. One layer can have no sugar, and others can have more than 8 tablespoons. Is there a point where there is not enough water to dissolve the sugar?

Questions & Answers

Question: What happens if I stir the sugar density rainbow?

Answer: Unfortunately, if you stir the contents of your rainbow the sugar will combine on each of the levels. So, you will end up with no more rainbow because all of the layers will combine.


Destini Duncan DD on May 11, 2018:

You know that I´m doing it for my science fair project for school!!!!!!!

rainbowdog on January 21, 2018:

great experiment

Divya gaikwad on December 11, 2017:

Very easy and interesting experiment......

RainbowCritterz on April 09, 2015:


Kathy Hull (author) from Bloomington, Illinois on August 01, 2014:

*blushes*....thanks again all!

Psst...MsLizzy....I told them they could drink it, they declined. I warned that if they did, it would be gone and they wouldn't be able to know how long the rainbow lasted. It was sitting on the counter, still a rainbow, till I pitched it a week later.

Maggie.L from UK on August 01, 2014:

A great experiment for kids. Will definitely be trying this one with my daughter. Voted up and useful.

Chav Chambers on July 31, 2014:

very interesting hub, well done!

thefedorows from the Midwest on July 31, 2014:

Congratulations on HOTD! I have seen other density experiments before, but none that turned into a! I am pinning this to try soon! Great pictures and explanations. Voted thumbs up!

The Reminder from Canada on July 31, 2014:

Cool experiment! Very sugary though but it's a fun thing to try!

Liz Elias from Oakley, CA on July 31, 2014:

My grandkids would have a ball with this. As for them wanting to drink the sugar water? Go ahead and let them taste it. I'm willing to bet, with all that much sugar in just plain water, and no other flavorings, they'd find it yucky, sickly sweet. ... and then, let them know that's about how much sugar they are drinking in a regular soda! ;-) .

Voted up, interesting, pinned and shared!

Kathy Hull (author) from Bloomington, Illinois on July 31, 2014:

Thanks all! Glad you enjoyed it. Always an honor to receive HOTD!

Eugene Brennan from Ireland on July 31, 2014:

A great hub, and fun experiment to whet the appetite of budding young scientists!

Congratulations on HOTD!

Thelma Alberts from Germany on July 31, 2014:

Congratulations on the HOTD! This is a cool experiment. Thanks for sharing.

RTalloni on July 31, 2014:

Yes, very cool--pinning to my Home Education/… board. Congratulations on a worthy Hub of the Day award for this interesting and useful post!

DreamerMeg from Northern Ireland on July 31, 2014:

Great idea. This looks like good fun but I would definitely have to stop them drinking it!

Suzette Walker from Taos, NM on July 31, 2014:

Congratulations on HOTD! This is a great idea! This is well done and well presented. Kids will learn a lot from this experiment .

Kathy Hull (author) from Bloomington, Illinois on July 31, 2014:

Thanks rebecca. :)

Rebecca Mealey from Northeastern Georgia, USA on July 31, 2014:

Very nice! Shared pinned, and congratulations!

Kathy Hull (author) from Bloomington, Illinois on July 13, 2014:

online4 I'm glad you liked it. I was just amazed that you could do it with water and sugar. lol

Kathy Hull (author) from Bloomington, Illinois on July 09, 2014:

The rainy days are killing us this summer, but THIS was a great distraction for us all. I'm sure you and your daughter will be enthralled too. :)

Claudia Porter on July 09, 2014:

Very cool - My daughter will love this one. We've had some rainy days too.