An image has one real size
A digital image has exactly one intrinsic property relevant here: its pixel dimensions. A photograph of 3000 × 2000 contains six million pixels, and that is true whether its metadata claims 72 PPI or 300 PPI.
The PPI field is an instruction about printing. It says how many of those pixels to place per inch of paper, which determines how large the print comes out: 3000 pixels at 300 PPI is a 10-inch-wide print; the same file at 72 PPI is a 41-inch-wide print of the same six million pixels, spread thinner and looking correspondingly worse.
Changing the number changes nothing except a few bytes in a header. Nothing is added, nothing is removed, and the file size is unaffected.