# Working out logical address space

If I have 2^32 bytes (512 MB) of physical memory, and we assume that each page is 2^10 bytes, how would I work out what the physical and logical address space would be?

No explanation that I can find makes sense to me.

• Which explanations did you find and how specifically do they not make sense to you? – Raphael Apr 29 '18 at 11:08
• This explanation has some calculations but I don't know where the person who answered got the a process can address 2^32 memory locations figure from. – ResetACK Apr 29 '18 at 11:12
• The other explanation is from my university class, so I can't post the content here without violating my lecturer's copyright. In general, I don't understand how certain figures are extrapolated from given variables; i.e. how do you determine the size of memory address, and from that how do you determine how many addresses there can be depending on the total amount of memory available. – ResetACK Apr 29 '18 at 11:12
• Citing academic material is usually covered under fair use or similar stipulations, depending on your legislation. (Note: Not the same as copy-pasting their slides!) Even if not, rephrase. Chances are the answer occurs to you while you do so. – Raphael Apr 29 '18 at 11:36
• That said, if your professor is your only source, "no explanation I can find" suggests you did more work than you really did. Check out other resources! – Raphael Apr 29 '18 at 11:36