Atomic and electronic structure of regular and O-deficient SrTiO 3 have been studied. Several types of first principles atomistic simulations: Hartree-Fock method, Density Functional Theory, and hybrid HF-DFT functionals, have been applied to periodic models that consider supercells of different sizes (ranging between 40 and 240 atoms). We confirm the ionic character of the Sr-O bonds and the high covalency of the Ti-O 2 substructure. For the stoichiometric cubic crystal; the lattice constant and bulk modulus correctly reproduce the experimental data whereas the band gap is only properly obtained by the B3PW functional. The relaxed geometry around the F center shows a large expansion of the two nearest Ti ions. Moreover, the vacancy formation energy is extremely sensitive to the size and the shape of the supercell as well as the calculation method. The electronic density map indicates the redistribution of two electrons of the missing O atom between the vacancy and 3d atomic orbitals of the two nearest Ti ions, in contrast to the F centers in ionic oxides where the charge centroid does not change.