Black Friday: 35% off on Gumroad with code BF2026, Nov 26–30 (PT). See all products

Need billable hours by client from Google Calendar? Build the report in Sheets

Your client work is already in Google Calendar, it is invoice day, and you need a billing total per client. Below is a free way to make the report in Google Sheets. Export Calendar to Sheets Pro does the export, the totals and the error check for $12 a year.

Get Pro, $12 a year

The free way

  1. Pick one rule and use it on every client event: put the client name in brackets at the start of the title, for example [Acme] Design review.
  2. In a new Google Sheet open Extensions > Apps Script, paste the code below, set your dates (months count from 0, so 9 is October), and run it. Google asks for permission to read your calendar.
    function exportHours() {
      var events = CalendarApp.getDefaultCalendar()
        .getEvents(new Date(2026, 9, 1), new Date(2026, 10, 1));
      var rows = [['Title', 'Start', 'Hours']];
      events.forEach(function (e) {
        if (e.isAllDayEvent()) return;
        rows.push([e.getTitle(), e.getStartTime(),
          (e.getEndTime() - e.getStartTime()) / 3600000]);
      });
      SpreadsheetApp.getActiveSheet()
        .getRange(1, 1, rows.length, 3).setValues(rows);
    }
  3. In column D add a Client column: =IFERROR(REGEXEXTRACT(A2, "^\[(.+?)\]"), "No client"), and fill it down.
  4. Select the data and choose Insert > Pivot table. Rows: Client. Values: SUM of Hours.
  5. Before you invoice, filter for "No client" and sort by Start to find overlapping events. Two events at the same time count those minutes twice.

What Export Calendar to Sheets does

  • You choose a preset such as Last month, or your own From and To dates, and see the exact first and last day before you export.
  • Clients come from the event colour (name a client for each colour) or from [Client] at the start of a title.
  • A timesheet totals hours by client, calendar, title, day, week, month or colour, with optional rounding to 6, 15, 30 or 60 minutes.
  • A Review tab lists overlapping events, events with no client, unusually long or short events, and hours from meetings you answered Maybe or never answered. Declined meetings are left out by default; if you turn off "Skip events I declined", the tab lists them too.
  • Pro adds several calendars in one export, any date range, hourly rates per client or colour with an Amount column (the Review tab then also flags clients billed at a zero rate), and automatic refresh.
  • Running the export again replaces only the rows in that date range, so earlier months and rows you added by hand stay.

Questions

Can Google Calendar show total hours per client?

It does not produce a per-client report for billing. You need the events in a spreadsheet and a rule that says which client each event belongs to.

Can I use event colours instead of brackets?

Yes, in Export Calendar to Sheets. Name a client for each event colour. If an event has both, the colour mapping wins.

How do I stop double-billing overlapping meetings?

Check the Review tab before invoicing. It lists each overlap and the number of minutes counted twice, and you decide which event to change.

What does it cost?

Pro is a yearly Gumroad membership at $12. It is a Google Sheet with the exporter built in, unlocked by a licence key. You can cancel in your Gumroad library, and there is a 7-day money-back guarantee.

Get Pro, $12 a year

All features · Make a timesheet from Google Calendar · Setup steps

I make this tool and sell it.