fixed duration calculation