Compass calibration teaches your drone's magnetometer — the sensor that detects Earth's magnetic field — where magnetic north is at your current location. The flight controller uses this to calculate true heading, which is essential for GPS-assisted flight modes like Position Hold, Return-to-Home, and any automated mission.
Without accurate compass data the drone doesn't know which direction it's actually pointing, and it can drift, spiral (called the toilet bowl effect), or fly in the wrong direction when you push the stick forward.
The calibration process is a two-rotation sequence: first you rotate the drone horizontally 360 degrees (nose-level) while holding it in the air, then you tip it nose-down and rotate it vertically 360 degrees. The magnetometer samples Earth's field at many angles to create a 3D offset correction map that cancels out hard-iron distortion from the drone's own electronics.
You need to recalibrate when you travel more than a few hundred kilometers, get a compass error message, fly after a firmware update, or if you've stored the drone near strong magnets. I recommend the DJI Mini 4 Pro for beginners — its compass calibration process in DJI Fly is guided with clear animations, and the hardware is well-shielded against internal interference.
Recommended gear: Find DJI Mini 4 Pro on Amazon