Jump to main content

Gravity-Powered Sorting Machine

3 reviews


Key Concepts
Gravity, mechanical design, material properties
Ben Finio, PhD, Science Buddies
Three red solo cups set up as a base, holding up half a solo cup and a ramp made of popsicle sticks


Have you ever used a coin-sorting machine to separate pennies, nickels, dimes, and quarters? When you need to separate things that are all mixed together, using a machine can be much faster than picking them apart by hand. In this project you will build a machine that can automatically separate two different size marbles, powered by nothing but gravity.

This activity is not recommended for use as a science fair project. Good science fair projects have a stronger focus on controlling variables, taking accurate measurements, and analyzing data. To find a science fair project that is just right for you, browse our library of over 1,200 Science Fair Project Ideas or use the Topic Selection Wizard to get a personalized project recommendation.


Sorting machines are used in many different applications, but they all have something in common. They automate a task that would be very difficult or even impossible to do by hand. It might not be that difficult to sort a pocketful of coins manually, but what if you worked at a bank and had to sort thousands of coins? It would be nice to have a machine to do it! Mining is another example. Early miners would use a manual process called panning to separate gold nuggets from dirt and sand in a pan. Today, huge industrial machines are used to separate valuable gems and minerals from other rocks and dirt. Single-stream recycling facilities have machines that can automatically separate paper, plastic, and metal objects-meaning you can just dump all your recyclables into one bin at home, without sorting them yourself!

How exactly do machines separate all these different materials? They make use of the fact that different objects materials have different properties. For example, some materials are magnetic and some are not, so you can use magnets to separate magnetic and non-magnetic materials. Materials have different densities – meaning some will float in water and some will sink. Some will be easily blown away by a strong puff of air, while others are heavy enough to stay put. Objects have many different sizes and shapes. Some might have smooth, round shapes that let them roll easily (like a ball) and others might have irregular or flat shapes that make them get stuck easily (like a flat piece of cardboard). Smaller objects can fall through holes in a grate while larger objects get stuck on top of it. In this project you will make use of that last point to separate marbles with two different diameters.


Note: this is an engineering design project, so there is not an exact list of materials required to do the project. The list below is a recommendation, but you can substitute other materials.
  • Plastic cups
  • Popsicle sticks
  • Paper
  • Tape
  • Glue
  • A few dozen “small” marbles, or plastic or wooden beads from a craft store. A diameter of 6mm or roughly 1/4” works well.
  • A few dozen “large” marbles, or plastic or wooden beads from a craft store. A diameter of 12mm or roughly 1/2” works well.


  1. Pour a mixture of both large and small marbles into a single plastic cup. Shake or stir the cup to make sure the marbles are well-mixed. 


  1. The goal of this project is to build a machine where you can pour a mixed cup of large and small marbles into one end, and have the machine automatically sort them into two different cups by size. This is an engineering design project, meaning there is no single “right” way to do this. The rest of the procedure will describe one possible approach, but don’t be afraid to modify it or try your own idea!
  2. Glue some popsicle sticks together to form a grate, as shown in the illustration. The gaps between the sticks should be large enough that the small marbles can fit through them, but small enough that the large marbles do not.
  3. Use plastic cups, other popsicle sticks, paper, glue, and tape to build a support structure for your grate to hold it at an angle above two plastic cups. One cup should be directly below the grate to collect the smaller marbles as they fall through, the other cup should be at the lower end of the grate to collect the larger marbles. Make sure the collection cups are not permanently attached to the rest of the machine – you need to be able to remove them easily.
  4. Roll up a piece of paper or cut up a plastic cup, and use it to make a funnel at the top end of your grate so you have a place to pour the marbles into your machine.
  5. Pour your cup of mixed marbles into the funnel and watch what happens. How do the marbles flow through your machine? Do the smaller marbles fall through the grate?
  6. Now, remove the two collection cups and look at their contents. Are the cups “pure” (all large marbles in one, all small marbles in the other) or “contaminated” with some marbles in the wrong cups?
  7. Pour all the marbles back into a single cup and mix them again.
  8. Engineers rarely get things perfect on the first try. “Iteration” is an important part of the engineering design process – meaning you design something, build it, test it, then go back and repeat the process to improve the design. If your collection cups were contaminated with the wrong marbles, how can you improve your design so it works better?
  9. Try improving or changing your design so you can sort all the marbles into the correct cups. If you used tape to build your first machine, it might be easy to take it apart and modify it. If you used a lot of glue, it might be easier to build your second version from scratch. Can you get to the point where your samples are 100% pure, with all the marbles in the right cups?

Observations and Results

It is unlikely that you will build a machine that works perfectly on the first try. In particular, some of the smaller marbles might roll too quickly across the grate while staying on the flat side of a popsicle stick, and never fall through one of the holes, so they wind up in the wrong cup. There are multiple ways you could fix this. You can make the grate longer, to increase the odds that the small marbles will fall through a hole. You can tilt the popsicle sticks or put them on edge so the “flat” sides are not sitting horizontally, so the smaller marbles will always roll down towards the holes. You can put other popsicle stick pieces perpendicular to the rest of the grate to serve as obstacles, causing the marbles to bounce around as they roll down – again, increasing the odds that the small ones will fall through the holes. Once you improve your grate, you should be able to build a machine that can perfectly sort the large and small marbles. It can also help if you pour the marbles into the machine slowly instead of dumping them in all at once.

icon scientific method

Ask an Expert

Curious about the science? Post your question for our scientists.


  1. Especially if you have small children around, check the floor to make sure you did not drop any marbles since they are a choking hazard!

Additional Resources


Career Profile
Engineering managers not only have to be knowledgeable about engineering, but they also need the right skills to be a good manager. Engineering managers supervise and coordinate a team of engineers. There are many specific engineering fields in which they could work, including manufacturing, electrical design, nuclear engineering, software, aerospace, and many others. Read more
Career Profile
Mechanical engineers are part of your everyday life, designing the spoon you used to eat your breakfast, your breakfast's packaging, the flip-top cap on your toothpaste tube, the zipper on your jacket, the car, bike, or bus you took to school, the chair you sat in, the door handle you grasped and the hinges it opened on, and the ballpoint pen you used to take your test. Virtually every object that you see around you has passed through the hands of a mechanical engineer. Consequently, their… Read more
Career Profile
You've probably heard the expression "build a better mousetrap." Industrial engineers are the people who figure out how to do things better. They find ways that are smarter, faster, safer, and easier, so that companies become more efficient, productive, and profitable, and employees have work environments that are safer and more rewarding. You might think from their name that industrial engineers just work for big manufacturing companies, but they are employed in a wide range of industries,… Read more
Career Profile
You use mechanical devices every day—to zip and snap your clothing, open doors, refrigerate and cook your food, get clean water, heat your home, play music, surf the Internet, travel around, and even to brush your teeth. Virtually every object that you see around has been mechanically engineered or designed at some point, requiring the skills of mechanical engineering technicians to create drawings of the product, or to build and test models of the product to find the best design. Read more
Free science fair projects.