Discrete-Time Signal Processing

Z Transform Calculator

Compute the Z transform of any discrete sequence or find the inverse Z transform of a rational function — complete with poles, zeros, region of convergence and stability, calculated live in your browser.

2Calculation Modes
100%Client-Side & Private
<1sInstant Results
Share this tool:

More Free Maths Tools

GCF Calculator Golden Ratio Gradient Hyperbolic Functions Interval Notation Inverse Variation Matrix Power NOR Calculator Orthocenter Pascal's Triangle Pentagon Percentage Percentage Change Percentage Decrease Percentage Difference

Z Transform Calculator

Choose a mode below. All computation runs locally in your browser — nothing is uploaded.

Rect pulse [1,1,1,1] Ramp [1..5] Alternating Impulse δ[n]
1 / (1 − 0.5 z⁻¹) 1 / (1 −1.5z⁻¹+0.5z⁻²) (1−z⁻¹)/(1−0.25z⁻¹)

Enter X(z) as a ratio of polynomials in z⁻¹: X(z) = N(z⁻¹) / D(z⁻¹). Coefficients ordered from the constant term upward (z⁻⁰, z⁻¹, z⁻², …). Assumes a causal (right-sided) sequence.

Forward Z Transform Result

Inverse Z Transform Result

Standard Transform Pair

Built for Real DSP Work

Every calculation is exact math run in your browser — no server round-trip, no placeholder numbers.

Forward & Inverse Transforms

Move freely between a time-domain sequence x[n] and its Z-domain function X(z), and back again.

Pole–Zero Plot

Automatically finds roots of your denominator and draws them on the z-plane against the unit circle.

Stability & ROC Analysis

Instantly see whether a causal system is stable, and what the region of convergence implies.

Partial Fraction Expansion

See exactly how X(z) decomposes into first-order terms and how each maps back to a pole^n sequence.

Complex Number Support

Enter z as a complex value and evaluate X(z) precisely with full complex arithmetic.

Standard Pairs Library

Instant lookup of common transform pairs — impulse, step, geometric, sinusoidal and damped forms.

How the Z Transform Calculator Works

Four steps from a sequence or rational function to a fully worked result.

01

Pick a Mode

Forward transform, inverse transform, or a standard transform-pair lookup.

02

Enter Values

Type your sequence terms or your numerator/denominator coefficients — validated as you type.

03

Get Results

The calculator evaluates X(z), finds poles/zeros, and expands x[n] with full working shown.

04

Export

Copy the result or download it as a text file for your notes, homework, or report.

Z Transform Table

Common z transformation pairs with region of convergence (ROC).

x[n]X(z)ROC
δ[n]1All z
u[n]1 / (1 − z⁻¹)|z| > 1
aⁿ u[n]1 / (1 − a z⁻¹)|z| > |a|
n u[n]z⁻¹ / (1 − z⁻¹)²|z| > 1
n aⁿ u[n]a z⁻¹ / (1 − a z⁻¹)²|z| > |a|
−aⁿ u[−n−1]1 / (1 − a z⁻¹)|z| < |a|
cos(ω₀n) u[n](1 − z⁻¹cos ω₀) / (1 − 2z⁻¹cos ω₀ + z⁻²)|z| > 1
sin(ω₀n) u[n]z⁻¹sin ω₀ / (1 − 2z⁻¹cos ω₀ + z⁻²)|z| > 1
aⁿcos(ω₀n) u[n](1 − a z⁻¹cos ω₀) / (1 − 2a z⁻¹cos ω₀ + a²z⁻²)|z| > |a|

What Is a Z Transform, and Why Does It Matter?

The Z transform is the discrete-time counterpart to the Laplace transform, and it sits at the center of digital signal processing, control theory, and discrete system analysis. Instead of describing a continuous voltage or signal, it works on a sequence of numbers — samples taken at regular time steps — and rewrites that sequence as a single algebraic function of a complex variable z. That shift from a list of numbers to one compact expression is what makes filters, feedback loops, and sampled systems tractable to design and analyze on paper or in code.

Formally, given a sequence x[n], the z transformation is defined as the sum over all n of x[n] multiplied by z raised to the power of negative n. Each term in the sequence becomes one term in a power series, weighted by a decreasing (or increasing) power of z. Where that infinite sum actually converges to a finite value is called the region of convergence, or ROC, and it is just as important as the algebraic form of X(z) itself — the same rational expression can represent two completely different sequences depending on which ROC is attached to it, one causal and one anti-causal.

Engineers rarely compute this sum term by term for real work. Instead, they lean on a z transform table of known pairs — the transform of a unit impulse, a unit step, a decaying exponential, a ramp, or a sinusoid — and combine them using linearity, time-shifting, and convolution properties. This calculator keeps that same workflow available directly in the browser: look up a standard pair instantly, or type in your own finite sequence and let the tool build the power series and evaluate it at any point z you choose.

The inverse of z transform is just as essential in practice. Once a system's transfer function H(z) is known as a ratio of polynomials, engineers need to recover the actual time-domain impulse response h[n] to understand how the system behaves sample by sample. The standard route is partial fraction expansion: factor the denominator to find the poles, split the rational function into first-order terms, and match each term back to a known z transform table entry — usually a geometric sequence raised to the pole's value. This calculator automates exactly that process, finding the roots of your denominator polynomial and reconstructing x[n] term by term with the working shown.

Poles and zeros carry the real engineering meaning. The zeros of X(z) are the values where the numerator vanishes; the poles are the values where the denominator vanishes and the function blows up. Where those poles sit relative to the unit circle — the set of points where |z| equals one — tells you almost everything about a causal system's behavior: poles strictly inside the unit circle mean a stable, decaying response, while any pole on or outside it signals marginal or unstable behavior. That is why every inverse transform result in this tool comes with a pole-zero plot and a stability read-out, not just a formula.

Examples of Z Transform Calculator use cases span classrooms and real design work alike. A student verifying a homework answer might enter a short sequence like [1, 2, 3, 4] to see the closed-form power series and confirm it matches hand calculations. A filter designer might type in the coefficients of a difference equation to instantly see the transfer function's poles, decide whether the filter is stable, and read off the first dozen samples of its impulse response. A controls engineer analyzing a sampled feedback loop might use the standard pairs lookup to quickly confirm the transform of a damped oscillation before combining it with other subsystem transforms by hand.

Whether you are learning what is a Z transform for the first time, refreshing how to use a z transform table, or double-checking an inverse transform by hand, having a fast, accurate, and free calculator removes the friction of redoing tedious algebra. This tool is built to be that reference: real computation, real partial fraction math, and a pole-zero picture you can trust, all running privately in your own browser with nothing sent to a server.

Frequently Asked Questions

How many Z Transform Calculator methods work for a sequence of 100 samples?

A single Z transform calculator method works for any finite sequence length, including 100 samples: the tool sums x[n]·z⁻ⁿ across every index you enter, so a 100-point sequence is evaluated the same way as a 3-point one — just with more terms in the power series and the final X(z) expression.

How do I find the inverse Z transform of a rational function step by step?

Enter the numerator and denominator coefficients of X(z); the calculator finds the poles by root-finding, performs partial fraction expansion, and reconstructs x[n] as a sum of pole^n terms multiplied by their residues, assuming a causal right-sided sequence unless a different ROC applies.

What is the difference between the Z transform and the inverse Z transform?

The Z transform converts a discrete-time sequence x[n] into a complex-plane function X(z); the inverse Z transform reverses this, converting X(z) back into the time-domain sequence x[n] using partial fractions, contour integration, or power series expansion.

Does the calculator support complex values of z?

Yes. You can evaluate X(z) at any complex point by entering it in the form a+bi (for example, 1.5-0.5i), and the tool performs full complex arithmetic to return the exact real and imaginary parts of the result.

Is the region of convergence (ROC) always the same for a given X(z)?

No. The same rational X(z) can correspond to different sequences depending on the chosen ROC — a right-sided causal sequence, a left-sided anti-causal sequence, or a two-sided sequence. This tool assumes the causal (right-sided) case, the most common convention in engineering practice.

Explore More Free Calculators

Dozens of maths and physics tools, all free and browser-based.