First, we need to get the relevant data from a company’s financial statements. Then, we need to input that data into a formula to calculate a ratio.