The reason your are not seeing the full 4Gb of ram is because this is by design, some of that space is used by you different hardware components and is not available to the operating system and applications. The amount you can use varies, depending on what hardware you have installed, but can range from as little as 2GB to as much as 3.5GB. It's usually around 3.1GB, and you are very close to that.
The reduction in available system memory depends on the configuration of the following
- The devices that are installed in the computer and the memory that is reserved by those devices.
- The ability of the motherboard to handle memory.
- The System BIOS version and settings.
- The version of Windows 10 that is being used.
- Other system settings.
Note The amount of usable memory in the examples are not exact amounts. Usable memory is a calculated amount of the total physical memory minus "hardware reserved" memory.
You can use the image below as a reference for the installed memory versus the usable memory.
Regards.