Consulting Project Revenue

A consulting firm charges a base fee of $2,000, plus $150 per extra hour (h). A 10% tax applies to service fees (not reimbursed costs). Travel and accommodation are reimbursed as x dollars. Write an expression for the total amount received.

Symbol definitions: h = extra hours, x = reimbursed expenses.

$2000
Base Fee
Fixed Service Charge
+
150
×
h
Extra Hours
150h
+
Tax
0.10(2000 + 150h)
+
Reimbursed Expenses
+x
(2000 + 150h) + 0.10(2000 + 150h) + x
Equivalent: 2200 + 165h + x

Consulting Project Revenue

Let's model a consulting invoice where total earnings include base pay, hourly billing, tax on service fees, and reimbursed expenses.
Continue

1. Base Project Fee

The fixed project fee is $2,000. This is always included.
Continue

2. Additional Hours

Extra work is billed at $150 per hour. If h is extra hours, that part is 150h.
Continue

3. Apply 10% Tax

Tax is charged on service fees only: (2000 + 150h). Tax amount is 0.10(2000 + 150h).
Continue

4. Add Reimbursed Expenses

Travel and accommodation are reimbursed as x dollars. Add +x separately (not taxed).
Continue

5. Final Expression

Total = (2000 + 150h) + 0.10(2000 + 150h) + x. Equivalent form: 2200 + 165h + x.
Continue

Your Turn

Write the same expression in any equivalent valid form.
Continue

Consulting Invoice Logic

Keep taxable fees and reimbursed costs separate so your model stays accurate.

calculateConsultingTotal.ts
function calculateConsultingTotal(extraHours: number, expenses: number): number {
  const baseFee = 2000;
  const hourlyRate = 150;
  const taxRate = 0.10;

  const serviceFees = baseFee + (hourlyRate * extraHours);
  const tax = taxRate * serviceFees;

  // Total = service fees + tax + reimbursed expenses
  return serviceFees + tax + expenses;
}

// h = 8 extra hours, x = $420 reimbursed expenses
console.log(calculateConsultingTotal(8, 420));
// serviceFees = 2000 + (150 * 8) = 3200
// tax = 0.10 * 3200 = 320
// total = 3200 + 320 + 420 = 3940
Consulting Revenue Calculation
AlgoAnimator: Interactive Data Structures