Tax Season 2026 58 days remaining   Collect W-2s, 1099s & receipts first.
Physics · New

Magnetic Field & Compass Simulator

Drag a bar magnet around a grid of compasses and watch the field lines turn.

Interactive 100% free No signup Works on phones
Start experimenting

Drag the magnet. Drag its glowing north tip to rotate it. Drag the big compass to probe the field.

Magnetic Field & Compass SimulatorAZRS Sims
Field at big compass0
Field direction
Magnet angle
Strength setting0

About the Magnetic Field & Compass Simulator

Free magnetic field simulator. Drag and flip a bar magnet, see a grid of compass needles align to the field, and show field lines and strength. Built for physics, the magnetic field & compass simulator runs instantly in your browser: change a setting or drag an object and the result updates at once, so you learn by trying things out rather than only reading about them.

Drag a bar magnet around a grid of compasses and watch the field lines turn. Use it to explore physics ideas at your own pace, then check what you found against the key ideas further down this page.

How to use the Magnetic Field & Compass Simulator

  1. Use the controls to change Magnet strength. The simulation reacts instantly.
  2. Pick an option such as Field lines, Compass grid, Strength colours to switch modes or load an example.
  3. Press "Flip poles", "Reset" to start, reset or change what is happening.
  4. Where you see a glowing handle, object, weight or atom, drag it with your mouse or finger. Everything responds in real time.
  5. Watch the readouts and graphs update as you experiment, and compare what you see with the key ideas below.

Things to try

  1. Drag the magnet and watch every compass turn.
  2. Flip the polarity and see the field reverse.
  3. Rotate the magnet and compare the field lines.
  4. Turn field strength colours on.

Key ideas you can learn

  • Magnetic field lines leave the north pole and enter the south pole.
  • Compass needles line up with the local field direction.
  • The field is strongest near the poles and weakens quickly with distance.

Where this is used in the real world

Magnetic fields power electric motors, generators, MRI scanners, compasses and data storage.

Who is this simulation for?

Physics students in middle school, high school and first-year university, teachers who want a quick demonstration for the projector, and anyone revising for exams. It works well for flipped classrooms because students can explore before the lesson.

For teachers: project it on the board, let students predict what will happen, then run it together. For students: change one thing at a time and write down what changes.

Frequently asked questions

Which way do magnetic field lines point?

Outside the magnet they go from the north pole to the south pole. Inside the magnet they go from south to north, so the lines form closed loops.

Why does a compass point north?

The Earth acts like a giant bar magnet, and the compass needle is a small magnet that lines up with its field.

Is the Magnetic Field & Compass Simulator free to use?

Yes. It is completely free, with no signup, no download and no ads inside the simulation. It runs in your web browser.

Does the Magnetic Field & Compass Simulator work on a phone or tablet?

Yes. It uses touch as well as the mouse, so you can drag objects with your finger. A larger screen makes the controls easier to see.

Related searches

magnetic field simulatorbar magnet field linescompass needlemagnet physics simulationmagnetic dipolefree physics labPhET magnets and electromagnets alternative

More simulations you may like

Browse all Physics and other simulations

All Tools
Homework Planner
GPA Calc
Flashcards
Citations
Study Timer
Grade Calc
Unit Conv.
File Compress
File Convert
PDF Merger
Image→PDF
Text Extract
Video DL
PDF Splitter
File Encrypt
BG Remover
FG Remover
Color Changer
Img Resizer
QR Code
Percentage
Loan EMI
Mortgage
Tax Calc
Salary
Currency
BMI
Tip Calc
Compound Int.
Translator
Summarizer
Transcription
AI Chat
Project Maker
Paraphraser
Word Counter
Case Converter
Paraphraser
Summarizer
Text Extractor
Find & Replace
Diff Checker
Text to Speech
Lorem Ipsum
JSON Format
Base64
Regex Tester
Speed Test
My IP
Notes App
Stock Advisor
Risk Simulator
CSV↔JSON
XML↔JSON
Base64
URL Encode
Binary↔Text
MoleMath
ChemScope
Periodic Table
SEO Analyzer
Speed Test
Keywords
Internal Links
Cannibalization
Tech Stack
Islam Home
Prayer Times
Quran Reader
Halal/Haram
Christianity
All Religions
Prayer Times
Athan
Qibla
Tasbih
Halal Scanner
Zakat Calc
Masjid Finder
Ramadan
Quran Reader
Hadith
Flappy Bird
Snake
Chess
2048
Tetris
All Games →
All News
Tech News
AI News
World News
Islamic News
Finance News
Sports
Science
Health
Web Dev
Tax Services
Business
Book Appt
Expenses
All Services