Study the equations shown on d3planner, you will learn a lot the mechanics of the game.
One more reference: https://us.forums.blizzard.com/en/d3/t/acronyms-the-definitive-list-plus-definitions/175
Look for ASI and IAS. Read the conversation on the thread about them.