How is "Federal Tax You Owe" calculated in the Federal Review section? Is there a formula I can use to make sure it's correct?

This is my first time using Turbo Tax and I want to make sure I entered all of my numbers correctly.