Frequency Converter
Convert between Hz, kHz, MHz, GHz, THz, and RPM.
About this tool
A frequency converter is essential for anyone working with oscillations, waves, or rotational motion across different domains—from audio engineering and RF (radio frequency) design to mechanical systems and electrical power. Whether you're dealing with hertz (cycles per second), kilohertz, megahertz, gigahertz, terahertz, or revolutions per minute (RPM), converting between these units quickly and accurately saves time and prevents errors in calculations, circuit design, or system specifications.
Simply select your source unit (the frequency you have), enter a value, and the tool instantly displays the converted result in all other supported units. This is particularly useful when comparing specifications across different industries—for example, converting a motor's rotation speed from RPM to Hz, or translating a microprocessor's clock speed from gigahertz to hertz for detailed timing analysis.
The tool handles the full spectrum of frequency scales: Hz and RPM for low-speed mechanical systems, kHz and MHz for audio and mid-range RF applications, GHz for high-speed electronics and communications, and THz for advanced physics and spectroscopy work. No matter your field—audio production, telecommunications, automotive, aerospace, or scientific research—this converter ensures you always have the right unit for the job.
Frequently Asked Questions
Code Implementation
# Frequency unit conversion in Python
# Conversion factors relative to Hertz (Hz)
FREQ_TO_HZ = {
"Hz": 1,
"kHz": 1e3,
"MHz": 1e6,
"GHz": 1e9,
"THz": 1e12,
"rpm": 1 / 60, # 1 RPM = 1/60 Hz
"rad_s": 1 / (2 * 3.141592653589793), # rad/s → Hz
}
def convert_frequency(value: float, from_unit: str, to_unit: str) -> float:
hz = value * FREQ_TO_HZ[from_unit]
return hz / FREQ_TO_HZ[to_unit]
# Simple Hz ↔ kHz / MHz / GHz
hz_to_khz = lambda hz: hz / 1e3
hz_to_mhz = lambda hz: hz / 1e6
hz_to_ghz = lambda hz: hz / 1e9
# Examples
print(convert_frequency(1, "GHz", "MHz")) # 1000.0
print(convert_frequency(3000, "rpm", "Hz")) # 50.0
print(hz_to_mhz(2_400_000_000)) # 2400.0 (2.4 GHz WiFi)
print(convert_frequency(440, "Hz", "kHz")) # 0.44 (A4 note)Comments & Feedback
Comments are powered by Giscus. Sign in with GitHub to leave a comment.