What the integration step represents
The ideal inverting integrator uses an input resistor and a feedback capacitor. With negative feedback, the input voltage drives current through the resistor; the capacitor stores charge, so that current changes the output over elapsed time. A constant input produces a linear output ramp in the ideal model. A positive input slopes the output downward, while a negative input slopes it upward from the specified initial value.
This is one constant-input interval, not a waveform simulation or controller design. The stated initial output is part of the calculation, so the modeled change is added to that starting value rather than assuming every interval begins at zero.
Use the ideal integration-step equation
For constant Vin, input resistance R, feedback capacitance C, elapsed time t, and initial output Vinitial, the ideal relation is Vout(t) = Vinitial − Vin t/(RC). Here R is in ohms, C in farads, and t in seconds. The product RC is a time constant. Dividing elapsed time by RC gives a dimensionless ratio; multiplying it by the input voltage gives the signed output change.
The calculator accepts R in kΩ, C in µF, and t in ms. Convert them to base units before checking the equation: multiply R by 1,000, C by 10⁻⁶, and t by 10⁻³. A zero elapsed time returns the initial output; a zero input produces no ideal change during the interval. Negative input is valid and changes the direction of the ramp rather than making the elapsed time negative.
Worked examples
A small positive input lowers the initial output
Inputs: Vin = 0.10 V, R = 100 kΩ, C = 1 µF, t = 20 ms, Vinitial = 0 V.
Calculation: RC = 0.1 s. ΔVout = −0.10 × 0.020/0.1 = −0.020 V; Vout = −0.020 V.
The ideal output moves down by 20 mV during the interval; a physical circuit must have room below its starting point.
A negative input raises a nonzero initial output
Inputs: Vin = −0.25 V, R = 50 kΩ, C = 0.47 µF, t = 10 ms, Vinitial = 1.20 V.
Calculation: RC = 0.0235 s. ΔVout = −(−0.25) × 0.010/0.0235 = +0.106383 V; Vout ≈ 1.306383 V.
The starting voltage is retained and the negative input adds a positive ramp increment.
Interpret the ramp and its time constant
The ideal slope is −Vin/(RC). Doubling elapsed time doubles the change; doubling R or C halves the slope magnitude. These comparisons help plan a signal, but hardware output remains limited by supply headroom and operating range.
A large predicted ramp may exceed available headroom. The equation continues a straight line after a real amplifier would saturate, so check the initial output, direction, supply range, and load together.
Check two initial-state examples
Carry the sign through the change term before adding the initial output. A positive input subtracts from the initial output; a negative input adds to it. Convert milliseconds to seconds and verify that the resistance-capacitance product is also expressed in seconds before dividing.
Where ideal integration stops matching hardware
A capacitive feedback path has no DC restoring path. Offset, bias current, leakage, and capacitor imperfections accumulate and cause drift; finite gain and bandwidth also change the response. Practical integrators often add a parallel resistor or use a larger feedback loop, changing low-frequency behavior that this calculator does not model.
For a changing input, split the history into constant intervals and pass each ending voltage forward as the next initial value, checking headroom throughout. For slope-based response, compare with the op-amp differentiator calculator.
Verify a real ramp with two measurements
Measure output near the beginning and end of a known interval while holding input steady. Compare ΔVout/Δt with −Vin/(RC), using actual component values and consistent seconds. Confirm the output did not clip and the input polarity predicts the measured direction.
A curved or stopped ramp can indicate changing input, saturation, a parallel feedback path, leakage, or a circuit state change. Small offsets accumulate over long intervals. Use the ideal integrator calculator for the arithmetic, then validate the actual topology against its data sheet.