Each round dilutes everyone who held shares before it. Pools are assumed to be created before the money comes in (pre-money pool), as most investors require. SAFEs, convertible notes and liquidation preferences are not included.
Free Startup Equity Dilution Calculator by CalcHub