The pilot’s inadequate fuel planning, which resulted in fuel exhaustion and a subsequent total loss of engine power.