./prontouso

Habit Streak Calculator

Paste completed habit dates to measure current streak, longest streak, tracked days, and completion rate locally.

Runs locally in your browser. This tool does not upload your input.

Habit log

Results

Completed days
4
Current streak
2
Longest streak
2
Completion rate
80%

Tracked days: 5. Current streak counts today, or yesterday if today is not logged yet.

How to calculate habit streaks

Use this calculator to check current streak, longest streak, and completion rate from a simple date log.

What this tool helps with

It reads completed dates, removes duplicates, and finds consecutive-day runs around the reference date.

Inputs to prepare

  • Prepare completed dates in YYYY-MM-DD format and choose the reference date.
  • The result shows completed days, current streak, longest streak, tracked days, and completion rate.
  • A streak is only a motivational signal; missed days can still be useful feedback for planning.

How to use it well

  • Start with the sample values, then replace them with your own numbers or text.
  • Check the result and adjust assumptions before relying on it.
  • Use it as a planning aid, then confirm important outputs in the source system or real-world context.

Privacy

This tool runs locally in your browser. The values you type are used only to update the result on the page.

FAQ

Why can yesterday count as current?

If today is not logged yet, the tool checks whether the habit was completed yesterday.

Can I paste comma-separated dates?

Yes. New lines, spaces, commas, and semicolons all work as separators.

Does it sync with a habit app?

No. It only analyzes the dates you paste into the page.