CALIBRATION GUIDE
IMU + Compass Step-by-Step

How to Calibrate DJI Drone IMU & Compass — Step-by-Step Guide

IMU and compass calibration are two of the most important pre-flight procedures, yet they're also among the most misunderstood. Do it wrong and your drone can drift, behave erratically, or even fly away. Do it right and you'll have rock-solid position hold, accurate Return to Home, and confidence in every flight. This guide covers everything you need to know about calibrating both systems on any DJI drone.

Compass Time
30 sec
IMU Time
2–5 min
Compass Location
Outdoors Only
Cost
Free

Quick Answer: How to Calibrate

For compass calibration: go to DJI Fly → Settings → Safety → Compass → Calibrate. Hold the drone horizontally and rotate 360° slowly, then hold vertically (camera down) and rotate 360°. For IMU calibration: place drone on a flat, level surface, go to Settings → Safety → IMU → Calibrate, and follow on-screen positions. Compass takes 30 seconds (do it outdoors), IMU takes 2-5 minutes (can be done indoors on a level surface).

Compass: Calibrate in new locations away from metal
IMU: Only calibrate when needed, on a flat surface
Battery should be above 50% before calibration
Never interrupt calibration once started
Verify calibration with a test hover before each flight
Remove gimbal cover during IMU calibration

Table of Contents

Understanding IMU and Compass

What is the IMU?

IMU stands for Inertial Measurement Unit. It's a collection of sensors inside your drone — accelerometers and gyroscopes — that measure the drone's movement, acceleration, and orientation in 3D space. The IMU tells the flight controller which way is up, how fast the drone is moving, and at what angle it's tilted.

Think of the IMU as the drone's inner ear — it senses motion and balance. Without a properly calibrated IMU, the drone wouldn't know which way is up, couldn't hover stably, and would likely crash immediately.

What the IMU Does

  • Measures acceleration (accelerometers)
  • Measures rotation rate (gyroscopes)
  • Determines drone attitude/tilt
  • Enables stable hover
  • Detects sudden movements (crash detection)

IMU Calibration Facts

  • Needs a perfectly flat, level surface
  • Can be done indoors or outdoors
  • Takes 2-5 minutes
  • Only needed occasionally
  • Very stable once calibrated

What is the Compass?

The compass (or magnetometer) measures the Earth's magnetic field to determine which direction the drone is facing — its heading or yaw. This is essential for GPS-based flight modes like Position Hold, Waypoints, and Return to Home. The compass tells the drone "which way is north" so it knows its orientation relative to the world.

Think of the compass as the drone's internal compass needle. Without it, the drone wouldn't know which direction it's facing, and GPS position hold wouldn't work correctly — the drone might drift or fly in circles.

What the Compass Does

  • Measures Earth's magnetic field
  • Determines drone heading (yaw)
  • Essential for GPS flight modes
  • Enables accurate Return to Home
  • Provides orientation for waypoint missions

Compass Calibration Facts

  • Must be done outdoors
  • Keep away from metal and magnetic sources
  • Takes only 30 seconds
  • Calibrate when traveling to new areas
  • Sensitive to environmental interference

When to Calibrate (and When Not To)

One of the most common questions pilots have is "how often should I calibrate?" The answer depends on whether we're talking about the compass or the IMU — they have very different calibration needs.

When to Calibrate Compass

  • When the DJI Fly app prompts you to
  • When flying in a new location 30+ miles / 50+ km from last calibration
  • If you see "compass error" or "compass interference" warnings
  • If the drone drifts or flies erratically in GPS mode
  • If the heading indicator is wrong or spinning
  • After a crash or hard landing
  • Many pilots calibrate before every flight in a new area (good practice)

When to Calibrate IMU

  • When the app recommends or requires it
  • If you see "IMU error" or "IMU calibration required"
  • If the drone drifts significantly in hover
  • After a crash or hard landing
  • After the drone was stored in extreme temperatures
  • If attitude indicator is off on a flat surface
  • Don't calibrate IMU every time you fly — it's not needed

Pre-Calibration Checklist

Before you start any calibration, go through this checklist to ensure the best results:

Battery > 50%: Make sure the drone battery is at least half full. Low battery can cause calibration to fail or shut down mid-process.
Normal temperature: The drone should be at room temperature. Don't calibrate immediately after bringing it in from a cold car or hot sunlight.
Good location (compass): For compass calibration, be outdoors in an open area. Stay at least 30 feet / 10 meters from cars, buildings, power lines, metal fences, and reinforced concrete.
Flat surface (IMU): For IMU calibration, you need a perfectly flat, level surface. A table or hard floor works — not grass or carpet.
Phone ready: Have your phone connected to the controller with DJI Fly open and the drone connected.
Remove gimbal cover: Take off the gimbal protector before IMU calibration. It's not needed for compass calibration but it's good practice.
Enough time: Don't rush. Compass takes 30 seconds, IMU takes 2-5 minutes. Set aside enough time to complete the process.
No metal on you: Before compass calibration, take off any metal jewelry, watches, or belt buckles — they can interfere with the magnetometer.

Compass Calibration: Step-by-Step

Compass calibration is quick and straightforward. The process is essentially the same across all DJI drone models — Mini, Mavic, Air, and Avata all use the same two-step rotation method.

  1. 1

    Prepare Your Location

    Go outdoors to an open area. Stay at least 30 feet / 10 meters away from cars, buildings, metal fences, power lines, and reinforced concrete. Make sure you have enough space to spin around slowly with your arms outstretched.

  2. 2

    Power On and Connect

    Power on the drone and controller. Connect your phone, open DJI Fly, and wait for the drone to connect. You don't need GPS lock for compass calibration, but you do need the drone connected to the app.

  3. 3

    Start Calibration in the App

    In DJI Fly, tap the three dots (⋯) in the top right → Safety → scroll down to Compass → tap "Calibrate" or "Start." The app will show instructions and the drone's status light will start flashing yellow, indicating calibration mode.

  4. 4

    First Rotation (Horizontal)

    Hold the drone horizontally at chest level, with the camera facing forward (the normal flying position). Slowly rotate your entire body 360 degrees to the left or right — it should take about 10 seconds per full rotation. Go slow and steady. The app will prompt you when this step is done (usually a checkmark or the indicator turns green).

  5. 5

    Second Rotation (Vertical)

    Now hold the drone vertically with the nose pointing straight down (camera facing the ground, top of the drone facing you). Keep your arms steady and slowly rotate your body 360 degrees again, same speed as before. The drone's top surface should face you the whole time.

  6. 6

    Wait for Confirmation

    When both rotations are complete, the app will show "Calibration Successful" or a green checkmark. The drone's status light will stop flashing yellow and return to normal. If it fails, try again in a different location — you're probably near a source of magnetic interference.

Tip: The direction you rotate (clockwise or counter-clockwise) doesn't matter — pick one and be consistent. What matters is going slow and steady, and completing the full 360 degrees without stopping. If you go too fast, the calibration might fail or give inaccurate results.

IMU Calibration: Step-by-Step

IMU calibration takes a bit longer than compass calibration and requires placing the drone in multiple positions. The exact number of positions varies by model — newer drones typically have 6 positions, while some older models have 5. The app will guide you through each one.

  1. 1

    Prepare a Flat, Level Surface

    Find a hard, flat, perfectly level surface. A table, desk, or hard floor works well. Grass, carpet, or uneven ground do NOT work. If you're not sure if the surface is level, you can use a small level app on your phone to check. A slightly unlevel surface will result in a poor IMU calibration.

  2. 2

    Prepare the Drone

    Remove the gimbal cover and propeller guards if you have them installed. Make sure the drone is at room temperature — not hot from sitting in the sun or cold from being in a fridge. Battery should be at least 50% charged. Place the drone on the flat surface in the normal, upright position.

  3. 3

    Power On and Open Calibration

    Power on the drone and controller. Open DJI Fly, connect to the drone. Go to Settings (⋯) → Safety → scroll down to IMU → tap "Calibrate." The app will show a warning about needing a flat surface — confirm to start.

  4. 4

    Follow On-Screen Positions

    The app will show you which position to place the drone in. Common positions include:

    • Position 1: Drone flat on its belly (normal landing position)
    • Position 2: Drone on its left side
    • Position 3: Drone on its right side
    • Position 4: Drone upside down (on its top)
    • Position 5: Drone standing on its nose (front down)
    • Position 6: Drone standing on its tail (back down)

    Each position takes 5-15 seconds. The app will show a progress indicator and tell you when to move to the next position.

  5. 5

    Handle Each Position Carefully

    When placing the drone in each position, set it down gently and then remove your hands completely. Don't hold it or touch it while calibration is in progress for that position. Make sure the drone is stable and not rocking. If the drone falls or moves during a position, the calibration will fail and you'll need to start over.

  6. 6

    Complete All Positions

    Continue through all positions until the app shows "Calibration Successful." The total process takes 2-5 minutes depending on the model. When done, place the drone back in its normal upright position. Don't interrupt the process — if you have to stop for any reason, you'll need to start completely over.

Important: Never move or touch the drone while IMU calibration is in progress for a given position. Even slight vibrations or movement can cause inaccurate calibration results, leading to drift or unstable flight. Set the drone down gently, remove your hands, and wait for the app to tell you to move to the next position.

Common Calibration Mistakes to Avoid

1. Calibrating Compass Indoors or Near Metal

This is the #1 mistake. Indoor environments are full of metal in the walls, floors, appliances, and furniture. Reinforced concrete has rebar that distorts magnetic fields. Calibrating near a car, metal fence, or power lines will give you a bad calibration. Always calibrate the compass outdoors in an open field or park, well away from any metal objects or structures.

2. Rotating Too Fast During Compass Calibration

Many people spin around quickly, but that actually gives the compass less time to take accurate readings. You should rotate slowly — about 10 seconds per full 360-degree rotation. Slow and steady wins the race here. Think "walking pace" rotation, not "dancing" speed.

3. IMU Calibration on Uneven Surfaces

The IMU needs a perfectly flat, level surface to calibrate correctly. Grass, carpet, couches, beds, and car hoods are all bad choices. A hard table, desk, tile floor, or concrete pad works best. If the surface isn't level, the drone's "level" reference will be wrong, and it will drift or tilt in flight.

4. Interrupting Calibration Mid-Process

Never turn off the drone, close the app, or move the drone while calibration is in progress. Interrupting IMU calibration can leave the drone in an uncalibrated state, which means it won't fly properly. If you accidentally interrupt it, you'll need to start the full calibration over from the beginning.

5. Calibrating IMU Too Often

Unlike the compass, you don't need to calibrate the IMU every time you fly or every time you travel. The IMU is very stable and only needs occasional calibration. Over-calibrating can actually be counterproductive if you do it on a slightly unlevel surface, as each new calibration replaces the previous (possibly good) one. Only calibrate the IMU when the drone shows an error or you notice drift.

6. Wearing Metal During Compass Calibration

You're holding the drone during compass calibration, so anything metal on your body — a watch, ring, belt buckle, keys in your pocket — can interfere with the compass readings. Take off metal jewelry and empty your pockets before calibrating. It seems minor, but a steel watch band held inches from the drone's compass can cause significant interference.

7. Not Verifying After Calibration

Just because the app says "calibration successful" doesn't mean it's perfect. Always verify with a test hover before flying far. Take off, hover at eye level for 10-15 seconds, and watch for drift. If the drone holds position well and the heading indicator matches reality, you're good. If it drifts or the heading is wrong, recalibrate in a better location.

Post-Calibration Verification

After calibration, always verify before you fly. Here's how to check that everything is working correctly:

1

Check the Heading Indicator

On the DJI Fly map view, the little triangle shows which direction the drone is facing. Pick up the drone, point it north (use a compass app on your phone), and see if the app matches. Rotate the drone and see if the indicator rotates smoothly with it. If it spins erratically or points the wrong way, the compass calibration is bad.

2

Check Attitude Indicator

Place the drone on a flat surface. Look at the artificial horizon / attitude indicator in the app — the horizon line should be level. If it's tilted significantly, the IMU might need recalibration on a flatter surface. A small amount of tilt (a degree or two) is normal, but anything more noticeable should be recalibrated.

3

Do a Test Hover

Go to an open area, take off, and hover at eye level (about 5-10 feet high) for 10-15 seconds. Don't touch the controls. The drone should stay in roughly the same spot. A little drift is normal in wind, but it shouldn't take off in one direction or start circling. If it holds position well, your calibration is good.

4

Watch for Warning Messages

Keep an eye on the app during the first minute of flight. If you see "compass interference," "compass error," "IMU error," or "ATTI mode" warnings, land immediately and recalibrate. Warnings that appear during flight but aren't there on the ground often mean you're flying near interference sources — move to a clearer area.

Model-Specific Calibration Notes

The calibration process is very similar across all DJI models, but there are a few differences to be aware of:

ModelCompass LocationIMU PositionsNotes
Mini 2 / 3 / 4 ProInside main body6 positionsStandard calibration procedure
Mavic 3 / 3 ProInside main body6 positionsMay have dual IMUs for redundancy
Air 2 / 2S / 3Inside main body6 positionsStandard procedure
Avata / FPVInside main body6 positionsFPV mode uses additional sensors
Mavic 2 / ProInside main body5 positionsUse DJI Go 4 app, not DJI Fly
Phantom 4Inside landing gear legs5 positionsUse DJI Go 4 app
SparkInside main body5 positionsUse DJI Go 4 app

The biggest difference is which app to use: DJI Fly for newer models (Mini 2+, Air 2+, Mavic 3, Avata, FPV), and DJI Go 4 for older models (Mavic Pro/2, Phantom, Spark, Inspire). Always follow the in-app instructions for your specific model — they're the most accurate guide.

Frequently Asked Questions

Common questions about DJI drone IMU and compass calibration.

How do I calibrate my DJI drone's compass?

To calibrate a DJI drone's compass: go to the DJI Fly app, tap the settings icon (three dots) → Safety → Compass → Calibrate. The app will prompt you to hold the drone horizontally at chest level and rotate your body 360 degrees slowly — take about 10 seconds per full rotation. When prompted, hold the drone vertically with the camera pointing straight down and rotate 360 degrees again. The app will show "Calibration Successful" when complete. Always calibrate outdoors in an open area, away from metal objects, power lines, and reinforced concrete. Many pilots calibrate the compass before every flight in a new location.

How do I calibrate my DJI drone's IMU?

To calibrate a DJI drone's IMU: place the drone on a perfectly flat, level surface like a table or hard floor. Remove the gimbal cover and make sure the battery is above 50%. Power on the drone, open DJI Fly, go to Settings → Safety → IMU → Calibrate. Follow the on-screen instructions — you'll need to place the drone in multiple positions (usually 6 on newer models): flat on bottom, on left side, on right side, upside down, nose down, and tail down. Each position takes 5-15 seconds. The whole process takes 2-5 minutes. Don't move or touch the drone during calibration. When complete, the app will show "Calibration Successful."

When should I calibrate my drone's compass?

You should calibrate your DJI drone's compass when: the DJI Fly app prompts you to, when flying in a new location more than 30 miles / 50 km from where you last calibrated, if you get a "compass error" or "compass interference" warning, if the drone drifts or flies erratically in GPS mode, if the heading indicator on the app is wrong or spinning, after a crash or hard landing, or if you've traveled a significant distance since your last flight. Many experienced pilots make it a habit to calibrate the compass before every flight when they're in a new area — it only takes 30 seconds and is good safety practice.

When should I calibrate the IMU?

You should calibrate your DJI drone's IMU when the app recommends or requires it, if you see an "IMU error" or "IMU calibration required" warning, if the drone drifts significantly in stable hover (after ruling out compass issues), after a crash or hard landing, after the drone has been stored in extreme temperatures (very hot or very cold), or if you notice the attitude/horizon indicator is off even when the drone is on a known-flat surface. Unlike the compass, you generally don't need to calibrate the IMU every time you fly or travel — it's much more stable. Most drones go months without needing an IMU calibration. Over-calibrating can actually be harmful if you do it on an uneven surface.

Can I calibrate my drone inside my house?

You can calibrate the IMU indoors as long as you have a perfectly flat, level surface — the IMU uses accelerometers and gyroscopes, not magnetic sensors, so indoor metal objects don't affect it. However, you should NEVER calibrate the compass indoors. Compass calibration must be done outdoors in an open area, away from metal objects, reinforced concrete, power lines, appliances, and other sources of magnetic interference. Indoor environments are full of metal in the walls, floors, and furniture, which will result in a bad compass calibration. A poorly calibrated compass can cause the drone to drift, fly erratically, or even fly away.

What happens if compass calibration is wrong?

A bad compass calibration can cause serious flight problems. The drone might drift significantly even with full GPS lock, fly in slow circles, show incorrect heading information on the app, or behave unpredictably when you give control inputs. More dangerously, Return to Home might send the drone in the wrong direction. The drone's GPS position hold relies on accurate compass data to know which direction it's facing — without that, the flight controller gets confused about orientation. In severe cases, the drone might switch to ATTI mode and drift with the wind. Always verify your compass is working after calibration by checking the heading indicator and doing a test hover before flying far.

How long does IMU calibration take?

IMU calibration on a DJI drone typically takes 2 to 5 minutes total. The process involves placing the drone in 5 to 6 different positions depending on the model, and each position takes 5 to 15 seconds to complete. The drone's internal sensors need time to stabilize and take accurate readings in each orientation. The exact duration depends on the model and how quickly you move between positions. Make sure you have a flat, level surface and enough time to complete the full process without rushing. Never interrupt IMU calibration once it's started — if you have to stop for any reason, you'll need to start over from the beginning.

Why does my DJI say "compass interference"?

A "compass interference" warning on a DJI drone means the compass is detecting abnormal or distorted magnetic fields that could affect its accuracy. This is usually caused by flying near metal objects like cars, fences, or buildings, power lines, reinforced concrete, or other sources of electromagnetic interference like cell towers or industrial equipment. If you see this warning on the ground, move to a different location farther from potential interference sources and recalibrate the compass. If you see it in flight, move away from whatever structure is causing it. In most cases, simply moving 20-30 feet away from the source will resolve the warning. Flying with compass interference is dangerous — the drone might drift or lose position hold.

Do I need to calibrate a new DJI drone?

New DJI drones come factory-calibrated from the factory, but you should still do a compass calibration before your first flight at your location. The factory calibration is done in a controlled environment in China and may not be perfectly accurate for where you'll be flying. The DJI Fly app will usually prompt you to calibrate the compass on your first flight anyway. IMU calibration on a brand new drone is generally not needed — the factory IMU calibration is quite accurate and the IMU is very stable. However, if you get an IMU warning out of the box or the drone seems to drift, you can recalibrate the IMU on a flat, level surface before your first flight.

Can I fly without compass calibration?

Technically, you can fly a DJI drone without a calibrated compass, but it's not recommended and the drone will have significant limitations. Without a working compass, the drone will operate in ATTI (Attitude) mode, which means it uses only the IMU and barometer for stabilization. It won't be able to hold position automatically — it will drift with the wind — and GPS features like Return to Home, ActiveTrack, and Waypoints won't work properly or at all. The drone will warn you before takeoff if the compass needs calibration. Always calibrate the compass before flying in GPS mode — it only takes 30 seconds and is essential for safe, predictable flight. Only fly without compass calibration if you're an experienced pilot and have no other option.

Related DJI Drone Guides

GPS
8 Fixes

GPS Weak Signal

8 fixes for DJI GPS weak signal. Open area relocation, wait time, IMU calibration, compass calibration, and interference sources.

WON'T START
9 Fixes

Drone Won't Turn On

9 causes and fixes for a DJI drone that won't power on. Battery hibernation, power button sequence, contacts, temperature, and more.

GIMBAL
8 Fixes

Gimbal Not Working

8 fixes for DJI gimbal problems. Gimbal cover check, calibration, IMU recalibration, motor overload, firmware, and damage inspection.

More DJI Drone Resources

Drone specifications, error code database, and complete troubleshooting guides for every DJI model.