What is tax liability calculated based on?

previous post