Magnetism. Introduction and principles
The online magnetism simulations on this page allow us to delve deeper into this important quality of some materials. We will discover magnets and the principles of magnetism, as well as the relationship between electricity and magnetism, known as electromagnetism.
This Thematic Unit is part of our Physics collection

STEM OnLine mini dictionary
Ferromagnetism
Property of materials like iron that exhibit strong magnetization in the presence of an external magnetic field.
Lorentz Force
Force exerted by a magnetic field on a moving charge, calculated as F = q · (v × B) in the SI (in Newtons).
Magnetic Dipole
System composed of two opposite poles (north and south); isolated magnetic poles (monopoles) do not exist in nature.
Magnetic Field
Region of space where a moving electric charge experiences a magnetic force, measured in Teslas (T) in the SI.
Magnetic Permeability
Ability of a material to allow magnetic field lines to pass through it, measured in H/m in the SI.
What is magnetism
Magnetism is a fundamental property of certain materials that allows them to attract or repel other objects. It is a phenomenon related to the interaction of moving electric charges and is closely linked to electromagnetism, an important branch of physics.
Magnets
Magnets are objects that exhibit magnetic properties. They are the closest and most popularly known manifestation of magnetism. Magnets have two poles, the north pole and the south pole, which have different characteristics and attract each other. When a magnet is brought close to a ferromagnetic material, such as iron or nickel, these materials can become temporarily magnetic and be attracted to the magnet. Around a magnet there is an area called a magnetic field, which is the region where magnetic forces are exerted. Magnetic field lines represent the direction and shape of this field, coming out of the north pole and entering the south pole of the magnet.
Principles of magnetism
The principles of magnetism that explain how it works are found in electrons, negatively charged subatomic particles that orbit around the nucleus of an atom. Moving electrons generate a magnetic field around them. In an atom, electrons pair up and their magnetic fields cancel each other out. However, in certain materials, such as magnets, the electrons do not pair up and their magnetic fields do not cancel, resulting in a net magnetization.
Electricity and magnetism. Electromagnetism
Electricity and magnetism are closely related to the point that they have given rise to a branch of physics called electromagnetism. Electromagnetism is a branch of physics that studies the relationship between electrical and magnetic phenomena, demonstrating that both are closely connected and form part of the same fundamental interaction, the electromagnetic force.
Laws of electromagnetism
The study of magnetism is supported by the laws of electromagnetism, formulated by James Clerk Maxwell in the 19th century. These laws describe the interactions between electric and magnetic fields, and have laid the foundation for the development of modern technologies such as electricity, wireless communications and electronics.
Electromagnets
Magnetism is also related to electricity. Thanks to electricity, magnets can be built, which are called electromagnets. Electric current in a wire generates a magnetic field around the wire. This principle is used in the construction of electromagnets, where a coil of wire wound around a magnetic core becomes magnetic when current passes through it. Electromagnets are widely used in technological applications, such as electric motors, generators, transformers and data storage devices, such as hard disks.
Magnetic fields
A magnetic field is a region of space in which magnetic forces act on magnetic materials and moving charged particles. These fields can be generated by permanent magnets, electric currents, or variations in electric fields. Magnetic field lines are a graphical representation showing the direction and intensity of the field: they run from the north pole to the south pole in a magnet. The density of these lines indicates the strength of the field; the closer they are together, the greater the intensity. The study of magnetic fields is fundamental to understanding the operation of numerous electromagnetic devices such as motors, generators, and transformers, as well as natural phenomena such as the Earth’s magnetic field, which protects the Earth from solar radiation.
Applications of magnetism
Magnetism has a wide range of applications in everyday life and technology. A classic example is navigation: compasses use a magnetized needle that aligns with the Earth’s magnetic field, allowing us to orient ourselves and determine north-south direction, something that has been fundamental to exploration for centuries. Today, this phenomenon is exploited in electric motors and generators, in data storage systems such as hard drives, in medical devices such as magnetic resonance imaging, and in advanced technologies such as magnetic levitation for transportation. Even the Earth’s magnetic field plays a vital role in protecting our planet from solar wind.
In short, these online magnetism simulations are a great tool to go deeper into this important field of physics.

STEM OnLine mini dictionary
Ferromagnetism
Property of materials like iron that exhibit strong magnetization in the presence of an external magnetic field.
Lorentz Force
Force exerted by a magnetic field on a moving charge, calculated as F = q · (v × B) in the SI (in Newtons).
Magnetic Dipole
System composed of two opposite poles (north and south); isolated magnetic poles (monopoles) do not exist in nature.
Magnetic Field
Region of space where a moving electric charge experiences a magnetic force, measured in Teslas (T) in the SI.
Magnetic Permeability
Ability of a material to allow magnetic field lines to pass through it, measured in H/m in the SI.
Explore the exciting STEM world with our free, online, simulations and accompanying companion courses! With them you’ll be able to experience and learn hands-on. Take this opportunity to immerse yourself in virtual experiences while advancing your education – awaken your scientific curiosity and discover all that the STEM world has to offer!
Magnetism simulations
Virtual Electromagnetic Laboratory
Delve into electromagnetism and discover key concepts such as electromagnetic induction, magnetic fields, and electric current. This simulation acts as a complete virtual laboratory, allowing you to experiment with a bar magnet and coils to light up a bulb, visualize magnetic field lines and measure current, as well as explore setups with electromagnets, generators, and transformers.
Giants of science
“If I have seen further, it is by standing on the shoulders of giants”
Isaac Newton
Michael Faraday
–
James Clerk Maxwell
–
Become a giant
Principles of Modeling, Simulations, and Control for Electric Energy Systems
Principles of Electric Circuits | 电路原理
Electrotechnique I
Electromagnetic Compatibility Essentials
AP® Physics 1
The Basics of Transport Phenomena
AP® Physics 2: Challenging Concepts
AP® Physics 1 – Part 2: Rotational Motion
Professional development for Educators
Teaching With Technology and Inquiry: An Open Course For Teachers
Teach kids computing: Developing your programming pedagogy
Get started with teaching computing
Support kids’ projects: Programming with Scratch
Giants of science
“If I have seen further, it is by standing on the shoulders of giants”
Isaac Newton
James Clerk Maxwell
–
André-Marie Ampère
–
Become a giant
Principles of Modeling, Simulations, and Control for Electric Energy Systems
Principles of Electric Circuits | 电路原理
Electrotechnique I
Electromagnetic Compatibility Essentials
Circuits for Beginners
AP® Physics 1
Pre-University Physics
AP® Physics 1: Challenging Concepts
Professional development for Educators
Teach teens computing: Functions and algorithms, searching and sorting in Python
Higher education assessing in the age of AI
Assessment Design with AI
Teach computing: Moving from Scratch to Python
Test your knowledge
What physical principles explain the existence of magnetic forces in certain materials, and how are these forces connected to the internal structure of matter?
How does the distribution of a magnet’s magnetic field determine its behavior and interactions with surrounding objects?
Why does a magnet always have two poles? Can’t I just cut it in half and keep only the north pole?
What happens if I bring a very strong magnet close to objects that aren’t metal? Does it affect them at all?
How come a magnet can pull objects toward it without touching them? Where does that force “come from”?
You may also be interested
Last simulations
To learn and experience
Take your knowledge to the next level with science kits and hands-on tools that connect theory with experimentation
Electromagnetic kit

Teachers essentials
Notion
Organize your notes, tasks, and projects in one place. Notion combines notes, lists, and calendars in one flexible space.
Canva
Design presentations, diagrams, and infographics with easy-to-use templates and professional results
Genially
Create interactive content, presentations, and educational games in a simple and visual way
Desmos
The most intuitive graphing calculator to explore mathematics and create dynamic classroom activities
Tinkercad
Design in 3D and simulate electronic circuits for free; it’s the perfect tool for simple robotics projects
Your Infinite Library
Enjoy the freedom to explore millions of titles and a curated selection of magazines on any device
Join Prime for students and young adults
The best series. Millions of songs. All included with your subscription.
Science made fun
Learn with the best courses
edX
Online courses from leading universities and companies. Learn practical skills and earn professional certifications
Coursera
Courses from leading universities and companies. Learn practical skills and earn professional certifications
Udemy
Thousands of online courses tailored to your level. Learn at your own pace with expert instructors


