magnetic field calculation

Hej,

I want to start with new project, the aim of this project is to calculation the magnetic field and simulate it. I ask is there any sensor could help me for when the MAGNETS tools coordinate changed the result of this X,Y,Z effect of magnetic field will be measured.
thanks for advising,

What you need is a three axis fluxgate magnetometer.
Google it.
This is to get you started:-