For Windows operating systems you can visits the system section (by search system in the search toolbar),  This will bring up the system information which will list the installed RAM.

For Linux open a terminal window and enter cat /proc/meminfo 

For older macs with up-gradable memory  you can check about this mac or about this computer from the apple menu in the upper left of your desktop screen.