Home▸Articles▸Physics & Mechanics

The Science Behind Fireworks: A Display of Physics and Chemistry

Fireworks are a spectacular display of physics principles and chemical reactions, creating vibrant colors and shapes in the night sky.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

Projectile Motion

When a firework is launched, it follows the laws of projectile motion. The shell's trajectory can be described by its initial velocity, launch angle, and gravitational acceleration. These factors determine how high the shell will rise and how far it will travel before falling back to Earth.

The path of the firework can be calculated using equations like: x = v0 * cos(θ) * t and y = v0 * sin(θ) * t - (1/2) * g * t^2, where x and y are the horizontal and vertical positions at time t, v0 is the initial velocity, θ is the launch angle, and g is the acceleration due to gravity.

Chemical Reactions

The colors in fireworks come from chemical reactions involving metal salts. When heated, these salts emit light at specific wavelengths corresponding to their atomic spectra. For instance, strontium compounds produce red, barium produces green, and copper produces blue.

These reactions are exothermic, meaning they release energy as heat and light. The temperature of the reaction must be high enough for electrons in the metal ions to transition between energy levels, emitting photons.

live demo · related simulation● LIVE

Why It Matters

Understanding the science behind fireworks helps us appreciate their beauty and complexity. This knowledge is also crucial for designing safer and more effective pyrotechnics.

Moreover, studying fireworks can provide insights into thermodynamics and spectroscopy, which are fundamental to many fields of science.

Real-World Applications

The principles of projectile motion and chemical reactions used in fireworks have broader applications. For example, they inform the design of rockets and missiles, as well as the development of new materials that can withstand high temperatures.

In addition, the study of pyrotechnics contributes to advancements in lighting technology and even in medical treatments involving laser-based therapies.

Frequently asked questions

How do fireworks produce different colors?

Fireworks produce different colors through chemical reactions involving metal salts. When heated, these salts emit light at specific wavelengths corresponding to their atomic spectra, resulting in the vibrant hues we see.

What is the role of gravity in a firework's flight path?

Gravity acts as the downward force that pulls the firework back towards Earth. It influences the shape and height of the trajectory, determining how far and high the shell will travel before it begins to fall.

Can fireworks be used for scientific research?

Yes, the principles behind fireworks can inform various scientific fields such as thermodynamics, spectroscopy, and even materials science. Studying these reactions helps in understanding energy transfer and light emission processes.

How do metal salts affect the sound of a firework explosion?

Metal salts primarily affect the visual aspect of fireworks by producing colors through chemical reactions. The sound is mainly due to the rapid expansion of gases during the explosion, which creates shock waves and vibrations.

Try it live

Everything above runs in your browser — open Fireworks Simulator (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Fireworks Simulator (2D) simulation

What did you find?

Add reproduction steps (optional)