To calculate minutes in Excel, subtract the start time from the end time and multiply by 1440 (the number of minutes in a day), then format the result as a number. For example, with a start time in A2 and an end time in B2, the formula =(B2-A2)*1440 returns the total minutes between them. This works because Excel stores times as fractions of a day, so multiplying by 1440 converts that fraction into minutes. You can also use the MINUTE function to extract just the minutes portion of a time value, or the TEXT function to display a duration as hours and minutes. This guide covers the exact formulas, formatting steps, and common pitfalls so you get reliable minute calculations every time.

What You'll Need

  • Microsoft Excel (any recent version: Microsoft 365, Excel 2019, 2021, or Excel for Mac). The steps below apply to the desktop app; the web version works similarly but some formatting options differ.
  • Start and end times entered in separate cells, ideally formatted as Time (e.g., 9:00 AM and 5:30 PM).
  • Basic familiarity with entering formulas (starting with =) and copying them down a column.

Step-by-Step

  1. Enter your start and end times. In cells A2 and B2, type the start time and end time using a recognizable time format, such as 9:00 AM and 5:30 PM. Excel will usually recognize these as time values automatically. If it does not, select the cells, right-click, choose Format Cells, and pick Time.
  2. Write the basic minutes formula. In cell C2, type =(B2-A2)*1440 and press Enter. This subtracts the start time from the end time to get a fraction of a day, then multiplies by 1440 to convert that fraction into total minutes. For 9:00 AM to 5:30 PM, the result should be 510 minutes.
  3. Format the result as a number. If C2 shows a time like 8:30 instead of 510, select C2, right-click, choose Format Cells, select Number, and set decimal places to 0. Alternatively, use the Number Format dropdown on the Home tab and choose Number. The formula result itself is correct; only the display needs changing.
  4. Copy the formula down. Drag the fill handle (the small square at the bottom-right of C2) down to apply the formula to other rows. Each row will calculate minutes for its own start and end times.
  5. Handle times that cross midnight. If your end time is on the next day (e.g., start 10:00 PM, end 2:00 AM), the simple subtraction gives a negative number. Use =MOD(B2-A2,1)*1440 instead. The MOD function wraps the difference around a 24-hour clock, so you get the correct positive minutes (240 in this example).
  6. Extract only the minutes portion of a time. If you want just the minute component of a time value (0–59), use =MINUTE(A2). For example, if A2 contains 9:45 AM, MINUTE returns 45. This is useful when you need to isolate minutes from a full timestamp.
  7. Display a duration as hours and minutes. To show total minutes as text like "8h 30m", use =INT((B2-A2)*1440/60)&"h "&MOD((B2-A2)*1440,60)&"m". This divides total minutes by 60 for hours, uses MOD to get remaining minutes, and concatenates them with labels. Adjust the labels as needed.
  8. Sum minutes across multiple rows. If you have a column of minute results (C2:C10), use =SUM(C2:C10) to get the total. Ensure the cells are formatted as numbers, not times, or the sum may display incorrectly.
  9. Convert minutes back to a time format. If you have a number of minutes (e.g., 510) and want to display it as 8:30, divide by 1440 and format the cell as Time: =510/1440 gives 0.354166..., which displays as 8:30 AM when formatted as Time. This is handy for converting calculated minutes into a readable clock time.
  10. Check for negative results. If your formula returns a negative number or a series of hash marks (#####), the end time is earlier than the start time without the MOD adjustment, or the column is too narrow. Widen the column and apply the MOD formula for overnight spans.

Common Mistakes

  • Forgetting to multiply by 1440. Subtracting two times gives a fraction of a day (e.g., 0.354). Without multiplying by 1440, you get a decimal that looks wrong. Always multiply by 1440 for total minutes.
  • Leaving the result formatted as Time. A result of 510 minutes formatted as Time may display as 8:30 or 8:30 AM, which is misleading. Format the result cell as Number or General.
  • Using the MINUTE function for total minutes. MINUTE only returns the minutes component (0–59) of a single time value. It does not calculate the difference between two times. Use subtraction and multiplication for durations.
  • Ignoring overnight shifts. Simple subtraction fails when the end time is on the next day. Use MOD to handle midnight crossings.
  • Entering times as text. If times are typed as text (e.g., "9:00 AM" with a leading apostrophe or in a cell formatted as Text), Excel may not calculate them. Re-enter as time values or use TIMEVALUE to convert.
  • Mixing date and time. If your cells contain full dates and times, subtraction still works, but ensure both cells include the date. Otherwise, the difference may be off by whole days.

Tips

  • Use =(B2-A2)*1440 as your go-to formula for total minutes between two times on the same day.
  • For overnight spans, =MOD(B2-A2,1)*1440 is the safest choice.
  • To round minutes to the nearest whole number, wrap the formula in ROUND: =ROUND((B2-A2)*1440,0).
  • If you need minutes as a decimal (e.g., 8.5 hours = 510 minutes), the multiplication by 1440 already gives that.
  • Use the TEXT function to display minutes with a label: =TEXT((B2-A2)*1440,"0")&" minutes".
  • When summing a column of minutes, double-check that no cell contains a time-formatted result, which SUM will treat as a fraction of a day.
  • Keep start and end times in separate columns for clarity and easier formula auditing.

Troubleshooting

  • Formula returns a negative number or #####: The end time is earlier than the start time. Apply the MOD formula for overnight spans, and widen the column to see the full value.
  • Result shows as a time (e.g., 8:30) instead of 510: The cell is formatted as Time. Change the format to Number or General.
  • Formula returns 0: Check that both cells contain actual time values, not text. Select each cell and look at the alignment—text is left-aligned by default, while times are right-aligned. Use TIMEVALUE to convert text to time if needed.
  • Unexpected large numbers: If your cells contain full dates and times, the difference may include days. Ensure both cells have the same date, or use the MOD formula to ignore the date portion.
  • MINUTE function returns the wrong value: MINUTE extracts the minute component of a single time, not a duration. For durations, use subtraction and multiplication.
  • Sum of minutes is incorrect: Verify that all cells in the sum range are formatted as numbers and contain the multiplied result, not raw time fractions.

Frequently Asked Questions

How do I calculate total minutes between two times in Excel?

Use =(EndTime-StartTime)*1440, replacing EndTime and StartTime with your cell references. Format the result as a number.

Why does my formula give a decimal like 0.354 instead of minutes?

You forgot to multiply by 1440. Excel stores times as fractions of a day, so multiplying by 1440 converts that fraction to minutes.

How do I handle times that cross midnight?

Use =MOD(EndTime-StartTime,1)*1440. The MOD function wraps the difference around a 24-hour clock, giving a positive result.

What is the difference between MINUTE and total minutes?

MINUTE returns only the minutes component (0–59) of a single time value. Total minutes between two times requires subtraction and multiplication by 1440.

Can I sum a column of calculated minutes?

Yes, use =SUM(C2:C10) after ensuring the cells are formatted as numbers, not times.

How do I convert a number of minutes back to a time format?

Divide the minutes by 1440 and format the cell as Time. For example, 510 minutes becomes 8:30 AM.