Flowchart for ATM cash withdrawal

This flowchart shows how an ATM handles a cash withdrawal, from inserting the card to ejecting it at the end. It uses two decisions, one for the PIN and one for the balance, to show the different paths a transaction can take. It suits students learning flowchart symbols and developers sketching simple transaction logic.

Example: Flowchart for ATM cash withdrawal: click to open it in the editor and change it.

Shapes Used in the Diagram

  • Ovals mark the start (Insert card) and the end (Eject card).
  • Parallelograms are user inputs: Enter PIN and Enter amount.
  • Diamonds are yes/no decisions: PIN correct? and Enough balance?
  • Rectangles are actions the ATM performs: Dispense cash, Show insufficient balance and Print receipt.

Steps and Decisions in Order

  1. The user starts with Insert card.
  2. The user is asked to Enter PIN.
  3. At PIN correct?, a No sends the flow back to Enter PIN. A Yes moves on.
  4. The user does Enter amount.
  5. At Enough balance?, a Yes leads to Dispense cash, then Print receipt.
  6. A No leads to Show insufficient balance.
  7. Both paths end at Eject card.

The PIN check forms a loop, so the user can retry until the PIN is right. The balance check splits the flow into a success path and a failure path that join again at the end.

How to Adapt It for Your Project

  • Add a counter to the PIN correct? loop, for example three tries, after which the card is kept or blocked.
  • Add an account choice, such as checking or savings, before Enter amount.
  • Add a check for the machine's own cash supply or a daily withdrawal limit next to Enough balance?
  • Make Print receipt optional with a new decision like Receipt wanted?
  • Recolor or relabel nodes to match the wording of your bank or class assignment.

Tip: Label every arrow leaving a diamond with Yes or No, as this diagram does. It makes each branch easy to follow and helps when you turn the flowchart into if/else code.

Frequently asked questions

What are the steps in an ATM cash withdrawal flowchart?

Insert card, enter PIN, check the PIN, enter amount and check the balance. Then either dispense cash and print a receipt, or show an insufficient balance message. Both paths finish by ejecting the card.

How many decisions are in the ATM withdrawal flowchart?

There are two decision diamonds: **PIN correct?** and **Enough balance?** Each has a Yes and a No branch.

What happens if the PIN is wrong in the ATM flowchart?

The **No** branch from **PIN correct?** loops back to **Enter PIN**, so the user can try again. This diagram has no attempt limit, but you can add one by opening and editing it.

Make your own flowchart with AI →

More templates

← All templates

Try AI Flowchart free →