When you fill in the return online it automatically works out how much tax and Class 4 National Insurance contributions you owe and allows you to view and print your calculation.