I have a few jobs in the pipe and I'm looking for the formula to figure out operating costs of a vehicle. One commute is only about 10 minutes away with a decent salary but the other is about an hour or more away with a larger salary.

I need the formula to figure out my annual cost of operating my truck to drive back and forth to work at both places. This way I can igure out which one actually pays me more after taxes and operating my truck.....

Depends more on how much you need the bucks. After 23 years on the road (up to 1250 miles driving each way), I'd take a job 10 minutes from home any day over one an hour away... Never sell your personal travel time short, those hours in the seat are generally non-productive, possibly hazardous, and worth a lot more than bucks in this short lifetime.
Just my $0.02, and not worth every cent of it. :roll:

The 2 jobs have d ifference in salary of about 25-30K a year. The higher paying one is the farther one.

I drive an hour now and it's basically only driving across the metro area. The traffic sucks. So driving an hour or a little more for about 25K more isn't bad. I don't think the one close to home (<10 miles) will equal the higher paying one after I factor in the mileage, lost time, etc...