The exact shape is still a matter of debate in physical cosmology, but experimental data from various independent sources (WMAP, BOOMERanG, and Planck for example) confirm that the universe is flat with only a 0.4% margin of error.
Can the universe be flat and finite?
We do not know whether the Universe is finite or not. ... The surface of the torus is also spatially flat, but it is finite. So you have two possibilities for a flat Universe: one infinite, like a plane, and one finite, like a torus, which is also flat.
Is the universe flat NASA?
We now know (as of 2013) that the universe is flat with only a 0.4% margin of error. This suggests that the Universe is infinite in extent; however, since the Universe has a finite age, we can only observe a finite volume of the Universe.