Abstract
We provide a new charged compact star model. New classes of exact solutions to the Einstein-Maxwell system is found in closed form by assuming that the hypersurface {t=constant} is spheroidal. The solution is found for all positive spheroidal parameter K with a specific form of electric field intensity. Here, we consider the equation of state of a fluid as 'the barotropic equation of state'. The mass radius relation is consistent with the experimental and theoretical results describing compact stars. The model of star satisfies all the energy conditions. Some physical features are briefly discussed.