# Why is ozone O₃ diamagnetic?

Please explain how to derive the magnetism of polyatomic molecules? If we derive it using an addition of an oxygen atom to molecular oxygen ($\ce{O2}$) it will come to be paramagnetic like $\ce{O3}$?