Note Duration Calculator
Use our free Note duration Calculator to learn and practice. Get step-by-step solutions with explanations and examples.
Calculator
Adjust values & calculateNote Durations
| Note | Normal (ms) | Dotted (ms) | Triplet (ms) | Hz |
|---|---|---|---|---|
| Whole Note (1/1) | 2000.00 | 3000.00 | 1333.33 | 0.500 |
| Half Note (1/2) | 1000.00 | 1500.00 | 666.67 | 1.000 |
| Quarter Note (1/4) | 500.00 | 750.00 | 333.33 | 2.000 |
| Eighth Note (1/8) | 250.00 | 375.00 | 166.67 | 4.000 |
| Sixteenth Note (1/16) | 125.00 | 187.50 | 83.33 | 8.000 |
| Thirty-Second Note (1/32) | 62.50 | 93.75 | 41.67 | 16.000 |
| Sixty-Fourth Note (1/64) | 31.25 | 46.88 | 20.83 | 32.000 |
Formula
Where Beat Duration = 60 / BPM in seconds, and Note Fraction is the denominator of the note value (4 for quarter note, 8 for eighth note, etc.). Dotted duration = Duration x 1.5. Triplet duration = Duration x 2/3. Samples = Duration x Sample Rate.
Last reviewed: December 2025
Worked Examples
Example 1: Setting Delay Times for a Song at 128 BPM
Example 2: Calculating Measure Duration for Film Scoring
Background & Theory
The Note Duration Calculator applies the following established principles and formulas. Date and time calculations underpin a vast range of applications from financial settlement to scheduling and age verification. The complexity arises because civil timekeeping uses irregular units: months have 28, 29, 30, or 31 days; years have 365 or 366 days; hours, minutes, and seconds use base-60 arithmetic; and time zones introduce offsets ranging from -12:00 to +14:00 relative to UTC. The Gregorian calendar's leap year rule is a compound condition: a year is a leap year if it is divisible by 4, except for century years, which must be divisible by 400. Thus 1900 was not a leap year but 2000 was. This rule keeps the calendar synchronized with the solar year to within about 26 seconds per year. For algorithmic date calculations, the Julian Day Number provides a continuous integer count of days since January 1, 4713 BCE, eliminating the irregularity of calendar months and making interval arithmetic straightforward. The Unix epoch, by contrast, counts seconds since 00:00:00 UTC on January 1, 1970, and is the basis of POSIX time used in most computing systems. ISO 8601 standardizes date and time representation as YYYY-MM-DD and combined datetime as YYYY-MM-DDTHH:MM:SSยฑHH:MM, ensuring unambiguous machine-readable interchange across locales that would otherwise differ in day/month/year ordering. Business day calculation requires excluding weekends and, optionally, a jurisdiction-specific list of public holidays. Duration calculations expressed in years, months, and days must account for the variable length of months, making them non-commutative: the interval from January 31 to February 28 is different from the interval from February 28 to March 31. Age calculation algorithms must handle the edge case of birthdays on February 29 and ensure that a person born on December 31 is not counted as one year older on January 1 of the following year until the clock passes midnight. Zeller's Congruence provides a closed-form formula to determine the day of the week for any Gregorian or Julian calendar date using only integer arithmetic.
History
The history behind the Note Duration Calculator traces back through the following developments. The need to track time and predict astronomical events gave rise to calendrical systems independently across many civilizations. The Babylonians, around 2000 BCE, developed a lunisolar calendar with 12 months of alternating 29 and 30 days, inserting an intercalary month periodically to keep pace with the solar year. They also divided the day into 24 hours and the hour into 60 minutes, a sexagesimal convention that persists in every modern clock. The Egyptian civil calendar used 12 months of exactly 30 days plus five epagomenal days, totaling 365 days. Though simple for administrative purposes, it drifted against the solar year by one day every four years. Julius Caesar, advised by the Egyptian astronomer Sosigenes, reformed the Roman calendar in 45 BCE. The Julian calendar introduced a 365-day year with a leap day every four years, a system that served Europe for over sixteen centuries. By the 16th century, the accumulated error of the Julian calendar had shifted the spring equinox ten days from its ecclesiastically mandated date, disrupting the calculation of Easter. Pope Gregory XIII commissioned the calendar reform that bears his name, and the Gregorian calendar was introduced in Catholic countries in October 1582. The transition required skipping ten days: October 4 was followed by October 15. Protestant and Orthodox countries adopted the reform slowly; Britain and its colonies switched in 1752, Russia not until 1918, and Greece in 1923. The expansion of railways in the 1840s created an urgent practical problem: each city operated on its own local solar time, making train timetables impossible to coordinate. British railways adopted Greenwich Mean Time as a standard in 1847. The International Meridian Conference of 1884 in Washington formalized the prime meridian at Greenwich and established the global framework of 24 time zones. Daylight saving time was first adopted nationally during World War I to reduce coal consumption. The development of atomic clocks after World War II led to the definition of Coordinated Universal Time (UTC) in 1960, accurate to nanoseconds. The Y2K problem of 1999-2000 demonstrated that two-digit year storage in legacy systems could cause widespread failures, prompting a global remediation effort costing an estimated 300 to 600 billion dollars.
Key Features
- Calculate the exact difference between any two dates expressed in days, weeks, months, and years simultaneously, accounting for leap years and varying month lengths.
- Add or subtract any combination of years, months, weeks, and days from a starting date to determine a precise future or past date, with results shown in a full calendar format.
- Compute a person's exact age from their birthdate in years, months, and days as of today or any specified reference date, suitable for legal, medical, and personal use.
- Count business days between two dates by excluding weekends and optionally filtering out public holidays from a configurable set of regional holiday calendars.
- Display a live countdown to any target date and time showing the remaining years, months, days, hours, minutes, and seconds, updating in real time.
- Convert a specific date and time between any two IANA time zones, correctly handling daylight saving time transitions and historical offset changes.
- Determine the day of the week for any historical or future date using the proleptic Gregorian calendar, supporting dates ranging from antiquity through far-future years.
- Format a calculated duration in ISO 8601 interval notation as well as plain human-readable text such as '2 years, 4 months, and 11 days' for use in documentation and APIs.
Frequently Asked Questions
Formula
Note Duration (sec) = (4 x Beat Duration) / Note Fraction
Where Beat Duration = 60 / BPM in seconds, and Note Fraction is the denominator of the note value (4 for quarter note, 8 for eighth note, etc.). Dotted duration = Duration x 1.5. Triplet duration = Duration x 2/3. Samples = Duration x Sample Rate.
Worked Examples
Example 1: Setting Delay Times for a Song at 128 BPM
Problem: A producer needs to set delay times synchronized to 128 BPM for quarter note, dotted eighth note, and triplet quarter note delays.
Solution: Beat duration = 60 / 128 = 0.46875 seconds = 468.75 ms\nQuarter note delay = 468.75 ms\nEighth note = 234.375 ms\nDotted eighth note = 234.375 x 1.5 = 351.5625 ms\nTriplet quarter note = 468.75 x (2/3) = 312.5 ms\nSixteenth note = 117.1875 ms\nSamples at 44.1 kHz: Quarter = 20,672 samples
Result: Quarter: 468.75 ms | Dotted 8th: 351.56 ms | Triplet quarter: 312.50 ms | 16th: 117.19 ms
Example 2: Calculating Measure Duration for Film Scoring
Problem: A film composer needs to fit exactly 8 measures of 3/4 time into a 16-second scene. What BPM is required, and what are the resulting note durations?
Solution: 8 measures of 3/4 = 8 x 3 = 24 beats total\n24 beats in 16 seconds = 24 / 16 = 1.5 beats per second\nBPM = 1.5 x 60 = 90 BPM\nQuarter note = 60 / 90 = 0.6667 seconds = 666.67 ms\nHalf note = 1333.33 ms\nEighth note = 333.33 ms\nMeasure duration = 3 x 666.67 = 2000 ms = 2 seconds\n8 measures = 16 seconds (confirmed)
Result: Tempo: 90 BPM | Quarter note: 666.67 ms | Measure: 2.0 seconds | 8 measures = 16.0 seconds
Frequently Asked Questions
How do you calculate the duration of a musical note?
The duration of a musical note is calculated from the tempo (BPM) and the note value. A quarter note at 120 BPM lasts exactly 0.5 seconds because there are 120 quarter notes per minute, meaning each quarter note equals 60 divided by 120 equals 0.5 seconds. A half note lasts twice as long (1 second), a whole note four times as long (2 seconds), and an eighth note half as long (0.25 seconds). Each successive subdivision halves the duration: sixteenth notes are half of eighth notes, thirty-second notes are half of sixteenth notes. The time signature determines which note value gets one beat, with 4/4 time assigning one beat to the quarter note and 6/8 time assigning one beat to the dotted quarter note.
What is BPM and how does it relate to note duration?
BPM stands for Beats Per Minute and defines the tempo or speed of a piece of music. It specifies how many beat-unit notes occur in one minute. In common time (4/4), the beat unit is typically the quarter note, so 120 BPM means 120 quarter notes per minute. The relationship between BPM and note duration is inversely proportional: doubling the BPM halves the duration of each note. At 60 BPM, a quarter note lasts exactly 1 second, making it a convenient reference point. At 140 BPM, a quarter note lasts about 0.429 seconds. Professional metronomes and DAWs use BPM as the primary tempo control, and all note durations in a piece are derived from this single tempo value.
What are dotted notes and how do they affect duration?
A dotted note has its duration extended by 50 percent, or equivalently, its duration is multiplied by 1.5. A dotted quarter note equals a quarter note plus an eighth note in duration. At 120 BPM, a regular quarter note lasts 500 milliseconds, while a dotted quarter note lasts 750 milliseconds. A double-dotted note adds an additional 25 percent of the original duration, meaning it lasts 1.75 times the undotted value. Dotted rhythms are fundamental in many musical styles, from the lilting feel of 6/8 time in Celtic music to the stately dotted rhythms of Baroque overtures. In drum programming and MIDI sequencing, accurately calculating dotted note durations is essential for programming delay times, arpeggiator rates, and rhythmic patterns.
How do triplets change the duration of notes?
Triplets divide a note value into three equal parts instead of the usual two, so each triplet note lasts two-thirds the duration of the regular note value. An eighth-note triplet fits three notes into the space of one quarter note, meaning each triplet eighth note lasts one-third of a beat instead of one-half. At 120 BPM, a regular eighth note lasts 250 milliseconds, but a triplet eighth note lasts approximately 166.67 milliseconds. Triplets create a flowing, lilting rhythmic feel that is fundamental to jazz, blues, swing, and many other genres. In electronic music production, triplet subdivisions are used for delay effects, hi-hat patterns, and arpeggiator settings to create rhythmic interest that contrasts with straight binary subdivisions.
How are note durations used in setting delay and reverb times?
Synchronizing delay and reverb times to the song tempo creates a cohesive, musical sound where the echoes and reflections reinforce the rhythm rather than fighting against it. A quarter-note delay at 120 BPM would be set to 500 milliseconds, an eighth-note delay to 250 milliseconds, and a dotted eighth-note delay (a popular choice in modern music) to 375 milliseconds. Pre-delay on reverbs is often set to a sixteenth or thirty-second note duration to push the reverb tail behind the dry signal without creating flamming. Modulation rate for chorus and flanger effects can be set to slow note values like whole notes or half notes for subtle movement. Most modern DAWs and plugins can sync delays automatically to the host tempo, but knowing the manual calculations is valuable for hardware setups.
How does time signature affect note duration calculations?
The time signature determines which note value receives one beat and how many beats are in each measure. In 4/4 time, the quarter note gets one beat, and a measure lasts four beats. In 3/4 time (waltz), the quarter note still gets one beat, but a measure is only three beats long. In 6/8 time, the eighth note gets one beat, so the beat duration is half that of a quarter note at the same BPM. However, convention dictates that 6/8 is typically counted in two groups of three with the dotted quarter note as the felt beat. The time signature affects measure duration (beats per measure times beat duration) but does not change the fundamental relationship between BPM and individual note values. Compound time signatures like 12/8 group beats differently but use the same duration calculations.
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy