Step Function & Piecewise Laplace Transform Calculator
Free: type a step, pulse, impulse or piecewise function and get its Laplace transform F(s) with a plot.
Laplace Transform Calculator
Enter a time-domain function f(t) to get its Laplace transform F(s)
Quick Examples:
How to type step and piecewise functions
- heaviside(t - a) is the unit step u(t − a): 0 before t = a, 1 from t = a on.
- dirac(t - a) is an impulse at t = a.
- A piecewise function that is g₁(t) before t = a and g₂(t) after is g1 + (g2 - g1)*heaviside(t - a).
- A pulse from t = a to t = b is heaviside(t - a) - heaviside(t - b).
- Use * for multiplication and exp() for exponentials.
Worked examples
Copy any input into the calculator above.
| Input f(t) | What it is | F(s) |
|---|---|---|
| heaviside(t - 2) | Unit step at t = 2 | e^(−2s)/s |
| heaviside(t - 1) - heaviside(t - 3) | Rectangular pulse from t = 1 to t = 3 | (e^(−s) − e^(−3s))/s |
| 5*(heaviside(t) - heaviside(t - 4)) | Pulse of height 5 from t = 0 to t = 4 | 5(1 − e^(−4s))/s |
| (t - 2)*heaviside(t - 2) | Ramp starting at t = 2 | e^(−2s)/s² |
| t*heaviside(t - 2) | t, switched on at t = 2 | e^(−2s)(1/s² + 2/s) |
| t + (4 - t)*heaviside(t - 2) | t until t = 2, then 4 | 1/s² + e^(−2s)(2/s − 1/s²) |
| exp(-t)*heaviside(t - 1) | Decaying exponential switched on at t = 1 | e^(−(s+1))/(s + 1) |
| dirac(t - 3) | Impulse at t = 3 | e^(−3s) |
Common questions
How do I enter a step function in the calculator?
Type heaviside(t - a) for a unit step that switches on at t = a. For example heaviside(t - 2) gives e^(−2s)/s.
How do I enter a piecewise function?
Write it with steps: a function that is g₁(t) before t = a and g₂(t) after is g₁(t) + (g₂(t) − g₁(t))·heaviside(t − a). For example t for t < 2 and 4 after is t + (4 - t)*heaviside(t - 2).
Is the step function Laplace calculator free?
Yes. Forward Laplace transforms, including step, impulse and piecewise functions, are free in LapCalc. Premium adds step-by-step AI explanations, inverse transforms and the ODE solver.
What is the Laplace transform of a delayed function?
By the second shifting theorem, L{f(t − a)·u(t − a)} = e^(−as)·F(s). A delay of a seconds multiplies the transform by e^(−as).
Learn more
Laplace Transform Calculator · Inverse Laplace Transform Calculator · Step & Piecewise Calculator · Examples