How to calculate
Calculate the time constant as RC or L/R. The corner frequency is one divided by 2π times that constant. The low-pass transfer is 1/(1+jf/fc) and the high-pass transfer is (jf/fc)/(1+jf/fc).
Worked example
Use Filter response Low-pass output · Resistance (Ω) 1000 · Capacitance (µF) 1 · Test frequency in Hz (optional) 1000. The result is ≈ 159.1549430919 Hz.
Input and result notes
Assumes an ideal source and no external load at the output. For RC, take low-pass output across C and high-pass across R. For RL, take low-pass across R and high-pass across L.
Analog Devices first-order RC and RL filter lab