Jump to main content

Wildfire Simulator

Summary

Areas of Science
Difficulty
Method
Time Required
Short (2-5 days)
Cost
Very Low (under $20)
Credits
Science Buddies is committed to creating content authored by scientists and educators. Learn more about our process and how we use AI.
*Note: For this science project, you will need to develop your own experimental procedure. Use the information on this page as a starting place. If you would like to discuss your ideas or need help troubleshooting, use the Ask An Expert forum. Our Experts won't do the work for you, but they will make suggestions and offer guidance if you come to them with specific questions.

If you want a Project Idea with full instructions, please pick one without an asterisk (*) at the end of the title.

Abstract

Wildfires can devastate communities, destroying homes and creating smoke that can affect air quality over huge areas. A wildfire could start from a natural cause like a lightning strike, or humans being careless with cigarette butts or campfires. What if you could predict how a wildfire will spread to help give people an advanced warning to get out of harm's way? Can forest management techniques like controlled burns—intentionally setting smaller, more controlled fires—help reduce the frequency of larger, more catastrophic fires? You can investigate these questions for a science project using a wildfire simulation, which is much safer than setting real fires!

Click the green flag to run this simple wildfire simulation (or click here to edit the code yourself). In the simulation, trees grow at random locations. With each step of the simulation, there is a random chance that a fire will start somewhere. Trees that are touching fire will also catch on fire, allowing the fire to spread. 

Watch the simulation run with the default fire probability of 50. You should see that fires are fairly frequent, but they usually stay small and only burn a few trees. Now, slowly decrease the fire probability variable using the slider and watch what happens. Fires will become less frequent, but you may see occasional enormous fires that almost burn down the entire forest! This demonstrates what can happen when forest growth is left unchecked with no management. The right conditions can lead to a huge, disastrous fire. 

Here is another version of the simulation (and here is the link to the code). This one only simulates one fire at a time, each time you click the green flag. It counts the total number of trees burned in each fire. For a science project, can you run the simulation many times and make a histogram of fire sizes? What shape, or distribution, does the histogram have? How does the shape change if you change the parameters in the simulation, such as the tree size or number of trees? 

These are basic simulations that do not account for weather effects like wind and rain, undergrowth like brush and grass that can help fire spread, or management techniques like controlled burns. Can you modify the programs to add any of these things to your simulation? Here are some ideas for what you could do:

Note: the Scratch simulation may start to lag if there are more than about 200 sprites on the screen. Check the official Scratch documentation for limits on the number of sprites/clones and project file size. 

Bibliography

This project is inspired by this forest fire simulation, which was featured in this video by Veritasium.

icon scientific method

Ask an Expert

Do you have specific questions about your science project? Our team of volunteer scientists can help. Our Experts won't do the work for you, but they will make suggestions, offer guidance, and help you troubleshoot.

Global Goals

The United Nations Sustainable Development Goals (UNSDGs) are a blueprint to achieve a better and more sustainable future for all.

This project explores topics key to Climate Action: Take urgent action to combat climate change and its impacts.

Careers

If you like this project, you might enjoy exploring these related careers:

Career Profile
Have you ever noticed that for people with asthma it can sometimes be especially hard to breathe in the middle of a busy city? One reason for this is the exhaust from vehicles. Cars, buses, and motorcycles add pollution to our air, which affects our health. But can pollution impact more than our health? Cutting down trees, or deforestation, can contribute to erosion, which carries off valuable topsoil. But can erosion alter more than the condition of the soil? How does an oil spill harm fish… Read more
Career Profile
Are you interested in developing cool video game software for computers? Would you like to learn how to make software run faster and more reliably on different kinds of computers and operating systems? Do you like to apply your computer science skills to solve problems? If so, then you might be interested in the career of a computer software engineer. Read more

News Feed on This Topic

 
, ,

Cite This Page

General citation information is provided here. Be sure to check the formatting, including capitalization, for the method you are using and update your citation, as needed.

MLA Style

Finio, Ben. "Wildfire Simulator." Science Buddies, 27 Feb. 2026, https://www.sciencebuddies.org/science-fair-projects/project-ideas/EnvSci_p081/environmental-science/wildfire-simulator. Accessed 4 June 2026.

APA Style

Finio, B. (2026, February 27). Wildfire Simulator. Retrieved from https://www.sciencebuddies.org/science-fair-projects/project-ideas/EnvSci_p081/environmental-science/wildfire-simulator


Last edit date: 2026-02-27
Top
Free science fair projects.