There's no definite amount of RAM you need. Commonly, the more programs (especially memory-consuming apps) that your Mac is running, the more memory they will use. Consequently, you need more RAM. For regular task proceeding, 8GB is enough. If you want to use a Mac for gaming, video clips, or image processing, better use a Mac with 16GB memory.