Z-Transform Calculator
Evaluate the z-transform of u[n] from a named table of standard sequences, with an independent partial sum at a stated z.
Z-Transform Calculator
Evaluate the z-transform of u[n] from a named table of standard sequences, with an independent partial sum at a stated z.
How this page computes
The z-transform of a causal sequence is the sum of u[n]z⁻ⁿ from n = 0 upward. The page matches the sequence against a named table of standard forms and prints the closed form, its region of convergence and an independent partial sum.
For u[n] = n the table gives z/(z−1)², and at z = 2 that is 2; the partial sum of 57 terms also reaches 2, with a difference of 8.88e-16. For 2ⁿ the closed form is z/(z−2), valid for |z| > 2.
A sequence outside the table is answered by numeric summation only. When z is inside the region of convergence the sum does not settle and the page refuses the value rather than reporting a divergent series.
The calculation runs entirely in this browser tab; nothing is uploaded.
The page evaluates a z-transform at a real z. For u[n] = n it prints the table's z/(z−1)², the region |z| > 1, the value 2 at z = 2, and a partial sum of the defining series that reaches the same 2.
The closed form comes only from the table; the page never invents one. A sequence outside the table can still be answered by summing u[n]z⁻ⁿ, and the page says that is what it did.
How to use Z-Transform Calculator
Type u[n], using n as the index. Expressions such as n, 2^n, n·2^n, sin(n) and cos(2n) are table forms.
Set z, a real number outside the region of convergence, and the number of terms for the partial sum.
Press Run. Read the closed form and its region, then the partial sum and the difference between them.
How the method works
The defining series is Σ u[n]z⁻ⁿ. For a geometric or sinusoidal sequence that series has a closed form, and the table is the list of those forms this page will state. The region of convergence is part of the answer, because the same formula means different sequences outside it.
The partial sum is an independent check: it uses the original u[n] and z, not the table's formula. The two numbers agreeing to round-off is what makes the closed form checkable on the page.
What to Expect
Best for
- The z-transform of a standard sequence at a stated z
- Seeing the region of convergence beside the formula
- Checking a table entry with a partial sum
Not ideal for
- A transform at a complex z
- A two-sided or anticausal sequence
- A sequence whose closed form is outside the table and whose sum does not settle
What this tool keeps
- The sequence and z exactly as typed
What may need cleanup
- Nothing when the sum settles; the refusal names z or the term count when it does not
Common errors
- z inside the region of convergence is refused with the region
- A sequence using another variable is refused by name
- A non-settling numeric sum is refused with the term count
Example use cases
- Z{n} at z = 2
- Z{2^n} at z = 3
- Check the table against a partial sum
Sample input
u[n] = n, z = 2
Sample output
z/(z − 1)^2, region |z| > 1, value 2, partial sum 2
Who this is for
- Students meeting discrete-time transforms
- Readers checking a z-transform table
Frequently asked questions
Why is z restricted to real numbers?
The page evaluates at a real point so the answer stays a single real number and the partial sum is ordinary real arithmetic. A complex z would need a complex-valued display, which this page does not attempt.
What is the region of convergence?
The set of z for which the defining series converges. For a^n it is |z| > |a|; for n and the sinusoids it is |z| > 1. Outside that region the formula still exists algebraically but does not describe this sum.
What if my sequence is not in the table?
The page sums u[n]z⁻ⁿ numerically and says the closed form is unavailable. If that sum does not settle, it refuses rather than reporting a divergent value.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.