In order to calculate time to climb you need:

  1. the vertical distance you are climbing (ex SL to 4000 feet = 4000 feet)
  2. your climb rate (ex 500 feet per minute)

Example:
Time to climb = 4000/500
Time to climb = 8 minutes

In order to calculate fuel burned  you need:

  1. Time to climb (8 mins)
  2. Fuel flow (9 Gph)
  3. The number 60

Example:
Fuel burned for climb = 8 * 9 / 60
Fuel burned for climb = 1.2 Gallons

To calculate distance traveled during your climb you will need:

  1.  Time to climb (8 mins)
  2. Your ground speed (ex 70 kt)
  3. The number 60

Example:
Distance traveled during climb = 8 * 70 / 60
Distance traveled during climb = 9 . 33 NM