Is your drone veering off course, drifting in hover, or showing a compass warning? Calibrating the compass can help the aircraft read Earth’s magnetic field instead of nearby metal or magnetic interference. A clean compass reading helps GPS position hold, heading hold, return-to-home direction, and waypoint navigation work more reliably.
Quick Answer
To calibrate a drone compass, choose an open area away from metal, concrete rebar, vehicles, phones, and power lines. Open the Compass, Sensors, Safety, Mission Planner, or QGroundControl calibration menu for your drone. Start calibration, rotate the aircraft exactly as prompted, then move locations if the app shows interference or the routine fails.
Key Takeaways
- Calibrate only in a clean, open space where the aircraft is away from steel, magnets, reinforced concrete, vehicles, phones, keys, watches, and power lines.
- DJI drones usually start compass calibration from the app or goggles; ArduPilot and PX4 aircraft use a ground station or onboard calibration routine.
- Alternating red/yellow LEDs, red interference bars, heading drift, toilet-bowl circling, or repeated calibration failure usually mean you should move to a cleaner location.
- Do not calibrate before every flight unless the aircraft asks for it, you changed hardware, you traveled far, or you see compass or heading problems.
At a Glance
| Time Required | About 2 to 5 minutes once you are in a clean outdoor location. |
| Difficulty | Easy, but location matters more than speed. |
| Tools Needed | Drone, charged flight battery, remote controller, flight app, goggles, Mission Planner, or QGroundControl, depending on your aircraft. |
| Cost | Free unless a damaged magnetometer, bad GPS/compass module, or repair issue needs service. |
Importance of Compass Calibration
A good calibration removes the aircraft’s magnetic bias. The autopilot can hold a steady heading and fly straight. Skipping it when the drone asks for calibration can cause circling, drift, wrong map heading, poor return-to-home direction, or navigation errors, especially where magnetic noise is strong.
The compass does not replace GPS. GPS helps the drone know where it is. The compass helps it know which way it is facing. When those two readings disagree, the aircraft may hesitate, drift, or show a warning before takeoff.
Note: Compass calibration is not a cure for every flight problem. If the drone tilts strangely, shakes, or reports IMU errors, you may need IMU calibration or service instead.

When You Should Calibrate a Drone Compass
You do not need to calibrate before every flight. Calibrate when the aircraft, app, goggles, Mission Planner, or QGroundControl asks for it. You should also recalibrate after repairs, after changing the GPS or compass module, after adding or removing metal accessories, or when the aircraft shows heading problems.
- Calibrate if the app says compass calibration is required.
- Calibrate if the map arrow points in the wrong direction while the drone is still on the ground.
- Calibrate after installing a new GPS/compass module, landing gear, payload mount, camera bracket, or metal accessory.
- Calibrate if the aircraft was stored near magnets, speakers, large batteries, or magnetic tools.
- Calibrate if you traveled a long distance and the aircraft reports compass or location disagreement.
- Do not calibrate on a bad site just because you are in a hurry. A bad calibration can be worse than no calibration.
Preparing for Calibration
Pick an open area away from cars, fences, steel buildings, manhole covers, drainage grates, concrete slabs, and power lines. Remove metal from your pockets and keep phones and watches several feet away from the drone. Power the aircraft and remote, unfold the arms, and make sure the battery is at least 50%. Open the Compass or Sensors page before you start.
DJI drones do not need a GNSS lock to begin compass calibration. ArduPilot works best with a good 3D fix before flight, and a clean outdoor location makes the calibration routine easier to complete.
Warning: Do not calibrate on a car roof, metal table, steel bridge, reinforced concrete pad, parking garage, or near power equipment. The compass may learn the magnetic field of that object instead of the local Earth field.

Before You Start Checklist
- Battery is charged enough to finish setup safely.
- Propellers are installed only if your manufacturer expects normal powered-on setup; keep people clear either way.
- Aircraft is away from vehicles, phones, keys, tools, speakers, magnets, and steel structures.
- Remote controller, phone, tablet, or goggles are connected.
- Firmware and app are stable enough to show sensor status.
- Aircraft is on level ground before you begin, unless your app gives a different instruction.
- You have enough space to rotate the drone without hitting yourself, another person, or the ground.
Performing the Calibration
Use the right flow for your model:
- DJI Fly (Mini, Air, Mavic 3/4, etc.): Safety → Sensors → Compass → Calibration. Rotate the aircraft as prompted.
- DJI FPV/Avata: start from the goggles Safety menu.
- DJI GO 4 (older Mavic/Phantom/Spark): Main Controller Settings → Advanced Settings → Sensors → Compass → Calibrate.
Hold the aircraft firmly and follow the on-screen movement order. Many DJI aircraft ask you to rotate the drone horizontally, then change the aircraft orientation and rotate it again. Move smoothly. Do not shake the drone, rush the turns, or touch the control sticks while the routine runs.
If calibration fails, do not keep repeating the same attempt in the same place. Restart the aircraft, move to a different spot, and try again. A new location often solves the problem faster than another attempt beside the same source of interference.
Pro Tip: If you are unsure whether the site is clean, walk 30 to 50 feet away from cars, signs, fences, and concrete, then check the sensor interference bars again before starting.
DJI Compass Calibration Steps
- Place the drone in an open area and power on the aircraft, remote, and app or goggles.
- Open the flight app’s Safety, Sensors, or Compass page.
- Select Compass, then choose Calibrate.
- Follow the screen prompt for the first rotation. Keep the drone away from your phone, watch, keys, and belt buckle.
- Turn the aircraft into the next required orientation and complete the second rotation.
- Wait for the app to confirm success before takeoff.
- If the aircraft still shows red interference or a compass warning, power down, move locations, and repeat once in a cleaner spot.
The figure-eight motion is often discussed with remote controller compass calibration. For many DJI aircraft, the drone itself uses the app-guided rotation routine instead. Follow the exact prompt shown by your model.
Onboard Calibration Process
ArduPilot: In Mission Planner, choose “Onboard Mag Calibration” and rotate with each face pointing down. You can assign an RC switch (RCx_OPTION = 171) to start or cancel the routine.
For ArduPilot builds with more than one compass, check that the correct compass priority and orientation are set. External GPS/compass modules should sit away from high-current power wires, ESCs, magnets, and metal frames. After calibration, review the compass health messages before arming.
PX4: In QGroundControl, run Magnetometer Calibration and follow the prompts. Rotate the vehicle through all requested orientations. Keep the aircraft away from laptops, steel tables, tools, and power supplies during the process.
After Calibration Checks
A successful message does not mean you should launch without a quick sensor check. Before takeoff, confirm that the compass warning is gone, interference bars are normal, and the aircraft’s map arrow points the same direction as the real drone nose.
- Pick up the drone and turn it slowly. The map heading should follow the aircraft smoothly.
- Set the aircraft back down and wait for the home point or pre-arm checks to finish.
- Start with a low hover in an open area before flying far away.
- If the drone circles, drifts badly, or turns when you are not commanding it, land and troubleshoot before continuing.
Troubleshooting Calibration Issues
- Try a new location. Grass or dirt usually beats reinforced concrete, asphalt, patios, sidewalks, parking lots, and rooftops.
- Remove action cams, ND-filter mounts, payloads, tracker mounts, landing gear, or accessories added since the last successful flight and retry.
- Update firmware for the aircraft, remote, goggles, and app if the problem started after a software mismatch.
- Restart the aircraft and remote after a failed attempt, then start fresh in a cleaner area.
- Check that no magnets are attached to the aircraft case, battery bay, landing gear, gimbal guard, or payload mount.
- For custom builds, move the compass farther from ESCs, motors, power distribution boards, battery leads, and high-current wires.
- If failures persist, the magnetometer may be damaged or magnetized. Contact support or replace the faulty module.
Indicators of Compass Problems
Alternating red and yellow status LEDs mean “compass calibration required” on many DJI models. Interference bars in the Sensors screen should be green; red means the site is noisy. In flight, slow circling in a hover or a drifting map heading are warning signs.
You may also see “compass error,” “magnetic field interference,” “move aircraft,” “heading error,” “pre-arm compass inconsistent,” or “magnetometer inconsistent” messages, depending on the flight system.
A compass warning is usually a location problem first. Move away from metal and power sources before assuming the drone is broken.
Best Practices for Calibration
Optimal Calibration Location
- Stay at least 10 m (about 30 ft) from large steel objects and vehicles.
- Avoid asphalt and concrete pads that may hide rebar.
- Pick an open space like grass or dirt.
- Stay clear of strong magnetic sources such as power lines or speakers.
- Avoid bridges, balconies, metal railings, rooftops, storm drains, steel benches, and construction sites.
- Keep the aircraft away from generators, transformers, large batteries, and charging stations.
Avoiding Magnetic Interference
- Keep magnets and metal, including phones, keys, tools, smartwatches, knives, and belt buckles, away from the aircraft during calibration.
- Recalibrate after repairs or when adding/removing metal accessories.
- Use the app’s interference bars; move if they show red.
- Do not calibrate while standing beside a car, fence, railing, or metal launch pad.
- Use a nonmetal landing pad if you need to keep the aircraft off grass, sand, or dirt.
Compass vs. IMU Calibration
Compass calibration and IMU calibration solve different problems. The compass helps the aircraft understand heading. The IMU helps the flight controller understand motion, tilt, acceleration, and attitude.
| Compass Calibration | Fixes heading bias and magnetic field reading problems. |
| IMU Calibration | Fixes motion sensor, attitude, tilt, and stability sensor issues. |
| Best Clue | Wrong map direction usually points to compass issues. Strange tilt or unstable attitude can point to IMU issues. |
Common Calibration Mistakes to Avoid
- Calibrating on concrete because it looks flat, even though hidden rebar may be under the surface.
- Holding the drone beside a phone, smartwatch, keys, or magnetic case during the rotation.
- Repeating failed calibration in the same noisy location.
- Ignoring red sensor bars and launching anyway.
- Confusing aircraft compass calibration with remote controller compass calibration.
- Adding a camera, tracker, or metal mount and not checking the sensor page before flight.
- Flying after a compass warning disappears for only a moment, then returns.
Frequently Asked Questions
How do I calibrate the compass on a DJI drone?
Open the app’s Compass or Sensors page and start calibration. On many DJI models, the path is Safety → Sensors → Compass → Calibration. Rotate the aircraft exactly as prompted. The figure-eight motion applies to some DJI remotes, not the aircraft.
Do I need GPS lock to calibrate?
DJI aircraft do not require GPS lock to begin compass calibration. ArduPilot recommends a good 3D GNSS fix for best results before flight checks. Either way, choose a clean outdoor location away from magnetic interference.
How often should I calibrate?
Calibrate only when prompted, after hardware changes, after repairs, after adding or removing metal accessories, or if you see interference or heading issues. It is not needed before every flight and should not be done in a poor location.
What is the difference between compass and IMU calibration?
The compass sets heading. The IMU sets motion and attitude sensors. A wrong map arrow, red compass bars, or magnetic interference warning points toward compass issues. Strange tilt, unstable attitude, or IMU warnings point toward IMU calibration or service.
What if calibration keeps failing?
Move to a cleaner spot, remove add-ons, restart the aircraft, and update firmware. Avoid concrete, cars, railings, and phones. If issues persist in several clean locations, the magnetometer may be damaged or magnetized. Contact support or inspect the GPS/compass module.
Can I calibrate indoors?
Indoor calibration is not recommended unless the manufacturer specifically allows it and the space is magnetically clean. Buildings often contain steel beams, wiring, speakers, appliances, furniture frames, and concrete rebar that can corrupt the calibration.
Why does my drone say compass error on concrete?
Many concrete slabs contain steel rebar or mesh. That hidden metal can distort the local magnetic field and trigger compass warnings. Move to grass, dirt, or another open area away from steel and try again.