Sam ordered 1/2 of a sandwich. He only ate 1/2. How much of the whole sandwich did he eat?

1/2 of 1/2 = 1/2 * 1/2 = 1/4