Type to search, in English or Thai

  1. Home
  2. Tools
  3. Laplace transform

// Tool · Laplace Transform Calculator

Laplace Transform Calculator with Step-by-Step Working and a Built-in Check

Type a time-domain function f(t)f(t) and get F(s)F(s) with the working: f(t)f(t) written as standard terms, each term transformed from the table, then combined into one fraction. Every answer is compared with the definition ∫0∞f(t)e−st dt\int_0^\infty f(t)e^{-st}\,dt by numerical integration before it is shown.

By Ajarn ModUpdated

Calculator

How to type a function

  • Use the variable t. Multiplication can be * or implied: 3t, t*cos(2t), e^(-2t)*sin(3t).
  • Powers use ^: t^2, cos(t)^2. Roots: sqrt(t). Constant: pi.
  • Unit step: u(t-2). Impulse: delta(t-1).
  • Coefficients must be numbers. For a symbolic problem such as e−ate^{-at}, use the general formulas in the table below.

The transform table the calculator uses

f(t)f(t), t≥0t \ge 0F(s)F(s)Region of convergence
11 or u(t)u(t)1s\dfrac{1}{s}Re⁡(s)>0\operatorname{Re}(s) > 0
tnt^{n}n!sn+1\dfrac{n!}{s^{n+1}}Re⁡(s)>0\operatorname{Re}(s) > 0
eate^{at}1s−a\dfrac{1}{s-a}Re⁡(s)>a\operatorname{Re}(s) > a
sin⁡bt\sin btbs2+b2\dfrac{b}{s^{2}+b^{2}}Re⁡(s)>0\operatorname{Re}(s) > 0
cos⁡bt\cos btss2+b2\dfrac{s}{s^{2}+b^{2}}Re⁡(s)>0\operatorname{Re}(s) > 0
eatsin⁡bte^{at}\sin btb(s−a)2+b2\dfrac{b}{(s-a)^{2}+b^{2}}Re⁡(s)>a\operatorname{Re}(s) > a
eatcos⁡bte^{at}\cos bts−a(s−a)2+b2\dfrac{s-a}{(s-a)^{2}+b^{2}}Re⁡(s)>a\operatorname{Re}(s) > a
tneatt^{n}e^{at}n!(s−a)n+1\dfrac{n!}{(s-a)^{n+1}}Re⁡(s)>a\operatorname{Re}(s) > a
sinh⁡bt\sinh bt, cosh⁡bt\cosh btbs2−b2\dfrac{b}{s^{2}-b^{2}}, ss2−b2\dfrac{s}{s^{2}-b^{2}}Re⁡(s)>∣b∣\operatorname{Re}(s) > |b|
δ(t−a)\delta(t-a)e−ase^{-as}all ss
f(t−a) u(t−a)f(t-a)\,u(t-a)e−asF(s)e^{-as}F(s)same as F(s)F(s)
tnf(t)t^{n}f(t)(−1)ndnFdsn(-1)^{n}\dfrac{d^{n}F}{ds^{n}}same as F(s)F(s)

Products of sines and cosines, such as cos⁡2t\cos^{2}t or sin⁡2tcos⁡3t\sin 2t\cos 3t, are first turned into sums with trigonometric identities, and then the table applies.

A worked example by hand

Find L{e−2tsin⁡3t}\mathcal{L}\{e^{-2t}\sin 3t\}. Start from L{sin⁡bt}=bs2+b2\mathcal{L}\{\sin bt\} = \dfrac{b}{s^{2}+b^{2}} with b=3b = 3, then apply the shift on the ss-axis: multiplying by eate^{at} replaces ss with s−as-a, here a=−2a = -2.

L{e−2tsin⁡3t}=3(s+2)2+9=3s2+4s+13\mathcal{L}\{e^{-2t}\sin 3t\} = \frac{3}{(s+2)^{2}+9} = \frac{3}{s^{2}+4s+13}

The poles are at s=−2±3js = -2 \pm 3j. Their real part is negative, so the response oscillates and decays to zero, the pattern of an underdamped second-order system.

How answers are checked

Once F(s)F(s) is found, the calculator picks a real ss to the right of every pole, evaluates ∫0∞f(t)e−st dt\int_0^\infty f(t)e^{-st}\,dt with adaptive Gauss–Kronrod quadrature, and compares it with the displayed F(s)F(s). They must agree to at least six digits or no answer is shown. Functions outside the table, such as et2e^{t^{2}} or ln⁡t\ln t, are reported as unsupported.

Frequently asked questions

What is the Laplace transform?

It maps a function of time f(t) to a function of complex frequency F(s) through F(s) = ∫₀^∞ f(t)e^{−st} dt. Differential equations become algebraic ones, which is why it is used for circuits and control systems.

Why does sin(wt) give an error?

The calculator needs numeric coefficients so that every answer can be checked numerically. Replace w with a number, or use the general formula b/(s²+b²) from the table on this page.

What is the region of convergence?

The set of s for which the defining integral converges. For a signal that starts at t = 0 it is the half-plane to the right of the right-most pole.

Does it handle the unit step and delays?

Yes. Write u(t-a) for a step at t = a. A term such as t·u(t-3) is rewritten in shifted form automatically and gives e^{-3s}(3s+1)/s².

More calculators