Ships have a stat called, simply but ambiguously, Defense. This is a value used to calculate a reduction of damage applied to incoming damage prior to the ship stack's other defenses (thus shields and negation are applied after the damage reduction).
For a deeper explanation, see also Overall Ship Defense, Combat Mechanics