Center of Gravity Calculator

CG = Σ(m·x) ÷ Σm on each axis. Enter masses and coordinates for a 1D, 2D or 3D center of gravity, or weights and arms for a weight and balance: moment = weight × arm, CG = total moment ÷ total weight.

Use the Center of Gravity Calculator

Mass Components

Mode:

Center of Gravity

Enter masses and coordinates, then click Calculate CG.

Formula Used

ΣMx = Σ(m·x),   CGx = ΣMx / Σm

ΣMy = Σ(m·y),   CGy = ΣMy / Σm

All axes are computed independently as a mass-weighted average.

Weight and balance (moment and CG arm)

Moment = weight × arm, CG arm = total moment ÷ total weight. Arms are measured from the datum; use negative arms forward of it. The default numbers are a generic example, not data for a real aircraft.

ItemWeight (lb)Arm (in)MomentRemove
— —

Fuel in US gal × 6.0 lb/gal

Takeoff / loaded

Total weight
—
Total moment
—
CG arm
—
%MAC
—

Landing (after fuel burn)

Enter a fuel burn to see the landing weight and CG.

Worked examples

  1. Three point masses (2D). 10 kg at (0, 0), 20 kg at (5, 3) and 15 kg at (2, 7). Σm = 45, ΣMx = 0 + 100 + 30 = 130, ΣMy = 0 + 60 + 105 = 165. CG = (130 ÷ 45, 165 ÷ 45) = (2.889, 3.667).
  2. Beam with two loads (1D). 200 N at 1 m and 600 N at 4 m from the left end: CG = (200 × 1 + 600 × 4) ÷ 800 = 3.25 m. A single support there balances the beam.
  3. Weight and balance. Empty 1,650 lb at 39.0 in (64,350 lb-in), front seats 340 lb at 37.0 in (12,580), baggage 50 lb at 95.0 in (4,750), 40 gal of avgas = 240 lb at 48.0 in (11,520). Total 2,280 lb and 93,200 lb-in, so CG = 40.88 in, inside 35.0–47.3 in and 120 lb under a 2,400 lb maximum. Burning 30 gal (180 lb, 8,640 lb-in) gives 2,100 lb at 40.27 in.
  4. %MAC. With LEMAC at 30 in and a 60 in MAC, a CG of 40.88 in is (40.88 − 30) ÷ 60 × 100 = 18.1% MAC.
Copied!

Summary

The Center of Gravity Calculator finds the mass-weighted average position of up to 20 point masses along one, two or three axes and plots them with the combined CG. A second panel does a weight and balance the way pilots, loadmasters and vehicle builders do it: each item's weight times its arm from a datum gives a moment, and the total moment divided by the total weight gives the CG arm. Add forward and aft CG limits, a maximum weight, fuel in gallons or litres with a planned burn, and the leading edge and length of the mean aerodynamic chord to see whether the load is within limits at takeoff and landing and where the CG sits in %MAC. Use the manufacturer's data for any real aircraft.

How it works

  1. Point masses: choose 1D, 2D or 3D and enter each mass with its coordinates from one reference origin. Any consistent units work.
  2. The calculator sums the first moments ΣM = Σ(m·r) on each axis and divides by the total mass: CG = ΣM ÷ Σm. The plot shows each mass (circle size grows with mass) and the CG cross.
  3. Weight and balance: enter each item's weight and arm (distance from the datum, negative if forward of it). Moment = weight × arm, and the CG arm = total moment ÷ total weight.
  4. Fuel is entered as volume and converted with a standard density: avgas 6.0 lb/US gal (0.72 kg/L), Jet A 6.7 lb/US gal (0.80 kg/L). A planned burn gives the landing weight and CG.
  5. Optional forward and aft CG limits and a maximum weight show whether the load is within the envelope. With LEMAC and MAC length the CG is also given as %MAC = (CG − LEMAC) ÷ MAC × 100.

Use cases

  • Find the CG of an assembly, vehicle chassis, robot or product from its components.
  • Run a weight and balance for a light aircraft, drone or RC model before flight.
  • Check a trailer, truck bed or cargo pallet load against a position limit.
  • Compute the centroid of a composite shape by entering each part's area as the "mass".
  • See how moving one heavy item changes the combined CG.
  • Teach first moments and weighted averages in statics or physics.

Frequently Asked Questions

Last updated: 2026-10-10 · Reviewed by Nham Vu