If you have start time in A1, end time in B1 and amount per minute in C1 this formula gives the total in D1

=MOD(B1-A1,1)*1440*C1

format D1 as currency