Frequency to MIDI Note Calculator
Find the nearest equal-tempered MIDI pitch and its tuning difference.
Your inputs
Calculation results
Formula & assumptions
MIDI position = 69+12 log₂(f/A4); cents = 100 × fractional note difference.
Values use the specified units. Calculations use floating-point arithmetic. Check input measurements and formula assumptions before applying the result.
Compare your scenarios
Save up to five results to compare changes side by side. Scenarios stay in this tab until you clear or reload it.
Using Frequency to MIDI Note Calculator
Find the nearest equal-tempered MIDI pitch and its tuning difference.
- Enter frequency, a4 reference using the units printed under each field.
- Choose Calculate, or enable live updates. Review the result labels and formula assumptions.
- Save scenarios to compare up to five variations, then copy the report or download JSON or CSV.
Example
Frequency: 445 hertz A4 reference: 440 hertz Fractional MIDI position: 69.195622 Nearest note number: 69 Cents from nearest note: 19.562175 Nearest note frequency · hertz: 440
Questions & answers
What does Frequency to MIDI Note Calculator calculate?
Find the nearest equal-tempered MIDI pitch and its tuning difference.
Which units should I enter?
Frequency uses hertz. A4 reference uses hertz. Convert values to these units before calculating.
Which formula does it use?
MIDI position = 69+12 log₂(f/A4); cents = 100 × fractional note difference.
What does the included example show?
Frequency: 445 hertz; A4 reference: 440 hertz. Result: Fractional MIDI position = 69.195622; Nearest note number = 69; Cents from nearest note = 19.562175; Nearest note frequency · hertz = 440.
Can I compare different settings?
Yes. Save a scenario, change the inputs and save another result. Up to five scenarios are compared in this tab; they disappear when you reload or leave.
Can I export the calculation?
Copy the JSON report or download JSON and CSV with inputs, result labels and numeric values. Processing uses local JavaScript; no calculation request is sent to our server. Displayed values use up to 10 significant digits; exports retain JavaScript numeric precision.
Help improve this tool
Report a problem or suggest an improvement
Describe the issue without pasting private tool input. Feedback goes to our admin inbox.
