Pressure is defined as force per unit area ($P = F/ A$). The force exerted by the box on the table is its weight ($F = mg$). The area is the contact area between the box and the table.