Measuring gain on an oscilloscope comes down to comparing two voltage signals: the input going into your circuit and the output coming out. You divide the output voltage by the input voltage, and that ratio is your gain. The oscilloscope gives you a precise way to capture both signals simultaneously and read their amplitudes, making the calculation straightforward once you know the setup.
The Gain Formula
Gain is simply a ratio of output voltage to input voltage:
Gain (Av) = Vout / Vin
If your amplifier takes in a 100 mV signal and puts out a 1 V signal, the gain is 10. A gain greater than 1 means the circuit is amplifying. A gain less than 1 means the signal is being attenuated. You’ll typically measure both voltages as peak-to-peak values, since that captures the full swing of the waveform and is the easiest measurement to read on a scope.
Gain is often expressed in decibels (dB) rather than as a plain ratio, especially when you’re characterizing amplifiers or filters across a range of frequencies. The conversion is:
Gain (dB) = 20 × log₁₀(Vout / Vin)
Positive dB values indicate gain, and negative values indicate loss. A voltage ratio of 10 equals 20 dB. A ratio of 0.5 equals roughly -6 dB.
Setting Up Two Channels
You need both the input and output signals displayed at the same time. Connect your input signal (the signal going into the circuit) to Channel 1, and the output signal (coming out of the circuit) to Channel 2. On most oscilloscopes, you’ll need to switch to dual-trace mode so both channels display simultaneously. Look for a button labeled something like MONO/DUAL or a channel display toggle.
Set both channels to DC coupling unless you specifically need to block a DC offset. DC coupling shows you the complete signal, including any DC component, which gives you the most accurate amplitude reading. If your circuit has a large DC offset that makes it hard to see the AC waveform, switch to AC coupling on that channel only.
Probe Attenuation
Check whether your probes are set to 1x or 10x. A 10x probe divides the signal by 10 before it reaches the scope, which the scope compensates for internally, but only if you tell it the correct setting. If your probe is set to 10x but your scope thinks it’s 1x, every voltage reading will be off by a factor of 10, and your gain calculation will be wrong. Match the probe switch to the scope’s channel attenuation setting before you start measuring.
Reading the Voltages
There are three ways to get your voltage numbers, ranging from quick estimates to precise readings.
Using the Graticule
The simplest method is counting grid squares. Adjust the vertical scale (volts/division) on each channel so the waveform fills most of the screen without going off the edges. Count the number of vertical divisions from the bottom of the waveform to the top. Multiply by the volts/division setting to get peak-to-peak voltage. Do this for both channels, then divide output by input.
Using Cursors
For better precision, use the oscilloscope’s cursor function. Press the CURSORS button and select paired or horizontal cursors. Two horizontal lines will appear on the screen. Place one cursor at the top of the waveform and the other at the bottom. The scope will display the voltage difference between the two cursor positions directly on screen. Toggle between channels and repeat the measurement for the other signal. This eliminates the guesswork of eyeballing grid lines.
Using Automatic Measurements
Most digital oscilloscopes have a “Measure” function that automatically calculates peak-to-peak voltage, RMS voltage, frequency, and other parameters. Select Vpp (peak-to-peak voltage) for both channels, and the scope will continuously display the values. This is the fastest method, though it can give misleading results if the signal is noisy or if the scope is triggering poorly.
Using Math Functions for Real-Time Gain
Many digital oscilloscopes can perform math operations on live waveforms, including division. If your scope supports it, you can set up a math channel that divides CH2 by CH1, giving you a real-time gain display. This is particularly useful when you’re sweeping a signal generator across frequencies and want to watch the gain change continuously. The math trace will show a flat line for a constant gain, or a rising and falling line if the gain varies with frequency.
Measuring Gain Across Frequencies
A single gain measurement at one frequency tells you part of the story. Most circuits have gain that changes with frequency, rolling off at some point. To characterize this, measure gain at multiple frequencies by stepping your signal generator through a range and recording the output-to-input ratio at each point.
A key landmark is the -3 dB point, where the output has dropped to about 70.7% of its maximum value. This is the standard definition of bandwidth for amplifiers, filters, and even the oscilloscope itself. To find it, first measure the gain at a midband frequency where it’s at its maximum. Then increase (or decrease) the frequency until the gain drops by 3 dB from that maximum. The frequency where this happens is your circuit’s bandwidth cutoff.
At the -3 dB point, you’ll notice the waveform shape starts to change too. Square waves will have rounded corners on their rising and falling edges, because the high-frequency content that creates sharp transitions is being attenuated.
Avoiding Probe Loading Errors
Your probe isn’t invisible to the circuit. It has input resistance and input capacitance, and both can change the signal you’re trying to measure.
The probe’s input resistance reduces the amplitude of the signal slightly. The waveform will look the same shape as the real signal, but its voltage will be a bit lower. For most circuits with reasonably low source impedance, this effect is small. But if you’re probing a high-impedance node, the amplitude error can become significant, and your gain measurement will be artificially low.
Input capacitance is the bigger problem, especially at higher frequencies. At low frequencies, the probe’s capacitance has very high reactance and barely affects the circuit. As frequency increases, that capacitive reactance drops, and the probe starts to load the circuit more heavily. The result is a waveform with rounded rising edges and reduced high-frequency content. A probe with larger input capacitance will produce noticeably slower rise times and lower apparent bandwidth.
To minimize these effects, use a 10x probe when possible (it presents higher impedance to the circuit than a 1x probe), keep your ground lead short to reduce stray inductance, and be aware that gain measurements above a few megahertz may be affected by probe loading.
Recognizing Invalid Measurements
If your amplifier is being driven too hard, the output waveform will clip. Instead of smooth sine wave peaks, you’ll see flat tops or flat bottoms where the signal has hit the amplifier’s supply rails. A clipped waveform means the amplifier is saturating, and any gain calculation from that waveform is meaningless because the output is no longer linearly related to the input.
To fix this, reduce the amplitude of your input signal until the output is a clean, undistorted version of the input. You might also see ringing, which looks like oscillations on the edges of square waves. Mild ringing can be normal, but severe ringing or sustained oscillation suggests a stability problem in the circuit, not just a measurement issue.
Also watch for noise. If either waveform is jittery or has visible noise riding on top, your peak-to-peak measurements will be inflated. Use averaging mode on your scope if available, or switch to RMS measurements for a more stable reading. When using RMS values, the gain formula stays the same: Vout(RMS) divided by Vin(RMS) gives the same ratio as peak-to-peak values would, assuming both signals are the same waveshape.

