This question already has an answer here:
Could anyone explain how I write units properly in LaTeX? In the form
kg.s^-1. They come out all slanted and squished together when i use math mode and
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
The siunitx package will interpret the units correctly