It is calculated on the basis that you have flown normal ops out to your PNR then back with the abnormality ( 1-INOP or DP ) and the reserves intact.
You need to allow for the holding fuel at the aerodrome you are returning to. The holding fuel required at your destination is no longer relevant...