Home / Science / Physics / Classical mechanics / Coupled oscillators and normal modesTool #907

Coupled oscillators calculator: normal modes and frequencies of masses and springs, animated

Line up to 12 masses joined by springs, between walls or floating free, and get every normal mode: its frequency, period and shape. Watch a single mode or any starting push move, see how the energy is shared between the modes, and download the motion.

Keep it one tap away for everyday use.

Bookmark Coupled oscillators and normal modes?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Springs
  2. Eigenmodes
  3. Shapes
  4. Motion
Nothing is uploadedWorks offline once open

Masses and springs

The masses slide along a line (no friction) and each spring joins neighbours; with a wall at an end, the first or last spring ties the end mass to it. Separate numbers with commas or spaces. The example values are made up.

Normal modes

Watch it move

Small oscillations of ideal springs, no damping. Any motion is a sum of the normal modes, each swinging at its own frequency; starting in exactly one mode keeps the shape forever. For study and planning, not a substitute for professional judgement.

Download

What it does

Join two pendulums with a spring, or line up masses on springs, and the motion looks complicated: energy sloshes from one to another and back. Underneath, every such system has a set of normal modes: special patterns in which all the masses swing at the same frequency, in step or in opposition, with fixed proportions. Any motion at all is just a sum of these modes, each swinging at its own frequency. Molecules vibrate this way, crystals carry sound this way, and buildings sway this way.

This tool takes up to 12 masses in a line joined by springs, with both ends tied to walls, one end free, or both ends free, and finds all the normal modes by solving the eigenvalue problem K v = ω² M v. It lists each mode’s angular frequency, frequency and period and its shape, draws the shapes, and animates the chain either in one mode or from any starting displacement. It also shows how the energy is shared between the modes and plots every mass’s displacement against time.

How to use it

  1. Choose the ends: two walls, one wall, or a floating chain.
  2. Set the number of masses.
  3. Type the masses in kg from left to right, or one number for all.
  4. Type the spring constants in N/m from left to right, or one number for all. The page says how many springs are needed: one more than the masses with two walls, the same number with one wall, one fewer for a floating chain.
  5. Under Watch it move, choose a single mode, “pull mass 1 aside”, or your own starting displacements. Pause, Play and the speed slider control the animation.
  6. Download the motion as a CSV file or the whole report.

Worked example

The made-up example has masses of 1, 2 and 1.5 kg between two walls, with springs of 10, 20, 15 and 5 N/m. The page finds three modes at 0.272, 0.672 and 1.01 Hz (ω = 1.708, 4.221 and 6.333 rad/s; periods 3.679, 1.489 and 0.9922 s). In the slowest mode all three masses move the same way, the heavy middle one most; in the fastest, neighbours move against each other. Pull mass 1 aside and let go and the energy is shared 1.35 %, 13.2 % and 85.5 % between modes 1, 2 and 3, which is why the motion looks irregular. For three equal 1 kg masses with four 10 N/m springs the shapes are the textbook (0.707, 1, 0.707), (1, 0, −1) and (0.707, −1, 0.707).

Tips

  • Start in a single mode and the shape never changes; that is the defining property of a normal mode.
  • Two nearly equal frequencies give beats: energy passes slowly back and forth between masses. Try two equal masses joined by a weak middle spring.
  • A floating chain has a zero-frequency mode: the whole chain drifting without stretching any spring.

FAQ

Why are the frequencies not simply √(k/m)? Each mass feels several springs, and its neighbours move too, so the modes mix every mass and spring together.

What about damping? Ideal springs and no friction are assumed. Light damping makes each mode die away slowly at almost the same frequency.

Are the shapes unique? Up to a sign and a scale, yes (unless two frequencies are exactly equal). Here each shape is scaled so its largest entry is 1. The tool is for study and planning, not a substitute for professional judgement.

Where the numbers come from

  • Small oscillations, the generalised eigenproblem K v = ω² M v and normal-mode superposition: standard classical mechanics. Eigenvalues by the cyclic Jacobi method (own code).
  • Checked against SciPy eigh for the generalised problem, the closed form ω = 2√(k/m) sin(jπ/2(N+1)) for a uniform chain, and the matrix exponential of the equations of motion (SciPy expm).
  • The example masses and springs are made up.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Water wave calculator #139 From a wave's period, height and the water depth, get the wavelength (solving the dispersion relation exactly), phase and group speed, energy and power, orbital velocity at the bed, then follow the wave into shallow water with shoaling and refraction to find where and how high it breaks, and the breaker type. Pendulum lab analyser #902 Paste your pendulum lengths and periods (or times for 10 swings) and get g with its uncertainty from a straight-line fit of T² against L, the exact correction for large swings, an optional unknown-length offset, residuals, and how far the small-angle formula is off at any amplitude. Moment of inertia builder #904 Build a body from simple uniform parts (rod, disc or cylinder, tube, ring, sphere, shell, box, point mass, and holes), place each one relative to the axis, and get the total moment of inertia with every step shown, the radius of gyration, the centre of mass, the moment about it and the spin energy at any rpm. Collision calculator #905 Work out the velocities after two bodies collide, in a line or at a glancing angle, for any coefficient of restitution from perfectly elastic to sticking together. See the momentum and energy before and after, the impulse, a before-and-after momentum diagram, or find e from your own air-track measurements. Lagrangian helper #908 Type the kinetic and potential energy of a system in your own coordinates and get the Lagrangian, the generalised momenta, every Euler-Lagrange equation (simplified, with sin² + cos² = 1), the accelerations or the mass-matrix form, the energy function, and a numerical run that checks energy conservation. Projectile and drag simulator #901 Launch a ball at any speed, angle and height and see its real path through the air: quadratic drag from its size, mass and drag coefficient, a head- or tailwind, the range, highest point, time of flight, landing speed, the best angle for distance and how much the air costs compared with a vacuum.