Headache days per month tracker: count pain days and attacks

2026-11-18 Headache days Attacks Analysis PainTrack

At almost every appointment, your doctor asks how many days you had a headache last month. From memory, you guess. Counting headache days takes entries, and since version 1.16.0 PainTrack has a headache days per month tracker built in: the “Pain days per month” card on the Analysis page.

The card counts your pain days and attacks for each calendar month and, with Pro, the days you took acute medication. Add an event such as starting a treatment to see the change since. The same figures go into the doctor's report. For what else to note on a headache day, see Keeping a migraine and headache diary.

Tabs change in the “Pain days per month” card, then “What counts as an attack?” opens the “Counting attacks” sheet.

Why doctors ask about days per month

With headache and migraine, doctors usually track progress in headache days per month and judge a preventive treatment mainly by whether that number falls over several months. You rarely get it right from memory: one bad day sticks, ten moderate ones blur together. At the appointment you need three figures:

  • Pain days: on how many days of the month it hurt.
  • Attacks: how many episodes there were. A three-day attack differs from three separate headache days.
  • Days with acute medication: on how many days you took a painkiller or migraine medication. Frequent use can itself make headaches worse, see Medication overuse headache.

How PainTrack counts

Term What counts
Pain day a day with at least one entry above 0, or “yes” on a yes/no scale
Attack consecutive days at or above the intensity you set for each pain; it counts in the month it starts
Day with acute medication (Pro) a day with at least one dose of an “As needed” medication
Day without an entry not counted

With several pains, a day counts once as a pain day, even with migraine and neck pain on the same day, and attacks add up across the selected pains. Once you have two pains, you choose which ones count with the pain selector at the top of Analysis.

Because only documented days count, log pain-free days too; the quickest way is “No pain today” in the daily reminder. Only then does a low number mean few pain days and no gaps in your diary. For tips on keeping it up, read How to keep a pain diary.

The card step by step

  1. Open Analysis. By default, the “Pain days per month” card sits right below the Weekly trend.
  2. Pick the “Pain days” or “Attacks” tab at the top. Once you have an “As needed” medication, “Acute meds” appears too.
  3. Read the bars for the last six months, each with its number on top. The current month is marked “so far”.
  4. With an event, a line above the bars shows -25% since “Started therapy” (avg 8 → 6 per 30 days).
  5. Tap “What counts as an attack?” below the bars to set how your pain is counted.
  6. For your appointment, tap “Report” in the “Doctor's report” block at the bottom of Analysis. “Pain days & attacks” is preselected.
The “Pain days per month” card on the “Pain days” tab with six monthly bars and the change since the latest event.
The “Pain days per month” card on the “Pain days” tab with six monthly bars and the change since the latest event.
The same card on the “Attacks” tab, showing attacks per month.
The same card on the “Attacks” tab, showing attacks per month.
The “Counting attacks” sheet, opened via “What counts as an attack?”, with intensity, break and an example week.
The “Counting attacks” sheet, opened via “What counts as an attack?”, with intensity, break and an example week.
The “Pain days & attacks” section of the PDF doctor's report with counting rules, a bar chart and a monthly table.
The “Pain days & attacks” section of the PDF doctor's report with counting rules, a bar chart and a monthly table.

The line compares the time before your latest event with the time since. Both are scaled to 30 calendar days, so a month in progress looks no better than it is. Each period needs at least 14 days, and at most 180 days before the event go in. You add events under More → Events. If you log less often after the event, the number drops even without improvement.

Setting intensity and break: “What counts as an attack?”

You decide per pain what an attack is. Open the “Counting attacks” sheet with “What counts as an attack?” on the card, or in the pain's edit dialog under More → Pains. It has two settings:

  • An attack starts at intensity: 4 by default on the 0 to 10 scale, the middle level on mild/moderate/severe, and every “yes” day on yes/no.
  • Break before a new attack: you pick 1, 2 or 3 days. That many days below the intensity separate two attacks; a shorter break still belongs to the same attack.

Say you log 6, 7, 2 and 5 from Monday to Thursday. With the default (from 4, 1-day break), PainTrack counts two attacks: Monday to Tuesday, and Thursday. With a 2-day break, the app bridges Wednesday and one attack remains. Either way, that is four pain days.

An example week and a preview of your last 90 days show the effect before you tap “Apply”. The setting is free. Set it once and rarely change it, so your months stay comparable.

Acute meds and the doctor's report

The “Acute meds” tab (Pro) counts days with at least one dose of an “As needed” medication. It appears once you have added one. Without Pro, you see its numbers blurred.

The “Pain days & attacks” section of the PDF doctor's report is free. At the top are the counting rules, including your attack intensity. Below them come a bar chart of pain days per month and a table with documented days, pain days, attacks, and average duration and intensity. With as-needed medications, a column for days with acute medication is added; partial months carry an asterisk. From the documented days, your doctor can see how complete your records are.

Pro adds the “Calendar” section: a Monday to Sunday grid for each month, every day coloured by its highest value, with a dot for days with acute medication. Copy the report with “Copy for AI chat” and the text includes the monthly table and counting rules. For the whole report, see PDF doctor's report.

Free and Pro at a glance

Feature Free Pro
Pain days, attacks and event comparison last 90 days, older months locked full history
“Acute meds” tab blurred yes
“What counts as an attack?” yes yes
Doctor's report: “Pain days & attacks” yes, periods up to 3 months yes, all periods
Doctor's report: “Calendar” locked yes

For the last three months you don't need a subscription.

Frequently asked questions

What counts as a headache day? In PainTrack, any day with at least one entry above 0, or “yes” on a yes/no scale. Days without an entry are not counted, and with several pains a day counts once.

Is the Pain days per month card free? Yes, for the last 90 days, including attacks and “What counts as an attack?”. Pro shows your full history and the days with acute medication.

How do I show my headache days to my doctor? Through the PDF doctor's report with its “Pain days & attacks” section, free for up to three months. With Pro you choose longer periods and can add the calendar.


PainTrack is not a medical device and does not replace medical diagnosis or treatment. The app is intended for personal documentation and self-observation.

What users say

4.4 out of 5 · 10 ratings on the App Store
  • (Almost) completely satisfied

    “An all-round really well-made app. I especially want to praise how easy it is to use, but also the automatic reminders asking how the pain develops after taking acute medication, as well as the regular reminders for preventive medication. One point of criticism that matters a lot to me, though, is how pain per day is currently calculated. It is an arithmetic mean. If, for example, I wake up with a 5/10 and the pain fades over the day (0/10), the app shows 2.5/10. That makes the actual pain look lower than it was. Especially for discussions with doctors I see this figure critically, since the real burden can come across as noticeably lower than it was. So I would like to see the pain peaks of the day. Apart from that, a very well-made app that has made documenting my pain much easier”

    Reply from PainTrack Thanks for the suggestion. Since version 1.17 you can switch the chart between daily average and daily maximum, and the doctor's report shows the daily maximum too.

    L03S1112 App Store · Germany · translated from German · App Store DE View in store
  • Trigger detection works great

    “Super simple and clear app. The trigger detection in particular has helped me a lot”

    Christina App Store · Germany · translated from German · App Store DE View in store
  • Easy to use, great app

    “I use the app to track my headaches, it runs smoothly and without ads - I'm happy!”

    Tina P. App Store · Germany · translated from German · App Store DE View in store

Selected reviews of 4 stars and up from the App Store and Google Play, unabridged. See the store for the overall rating.

All reviews on the App Store PainTrack on Google Play