<s>[INST] Is there a general formula for the eccentricity $e$ of ellipsoid? For an ellipse of eccentricity $e$ the formulas are:
${x^2 \over a^2} + {y^2 \over b^2} = 1 \\ e = \sqrt {1-\left({b \over a} \right)^2}$
what about the "3D case"?
 [/INST] In the aspect of measure of the boundary
Perimeter of an ellipse
\begin{align}
  1 &= \frac{x^2}{a^2}+\frac{y^2}{b^2} \tag{$a \ge b$} \\
  P &= 4aE(e_{ab}) \\
  e_{ab} &= \frac{\sqrt{a^2-b^2}}{a} \\
\end{align}
Surface area of an ellipsoid
\begin{align}
  1 &= \frac{x^2}{a^2}+\frac{y^2}{b^2}+\frac{z^2}{c^2} \tag{$a \ge b \ge c$} \\
  S &= 2\pi
  \left[
    c^2+\frac{bc^2}{\sqrt{a^2-c^2}}F(\theta,k)+b\sqrt{a^2-c^2} E(\theta,k)
  \right] \\
  \theta &= \cos^{-1} \frac{c}{a} \\
  k &= \frac{a}{b} \sqrt{\frac{b^2-c^2}{a^2-c^2}} \\
  &= \frac{e_{bc}}{e_{ac}} \\
  k' &= \sqrt{1-k^2} \\
  &= \frac{c}{b} \sqrt{\frac{a^2-b^2}{a^2-c^2}} \\
  &= \frac{e_{ab}}{e_{ac}}
\end{align}

*

*For prolate spheroid

$$b=c \implies (k,k')=(0,1)$$

*

*For oblate spheroid

$$a=b \implies (k,k')=(1,0)$$

*

*$k$ or $k'$ is not quite well-defined for the case of sphere.

In the aspect of confocal system
Confocal conics
\begin{align}
  1 &= \frac{x^2}{a^2+s}+\frac{y^2}{b^2+s} \\
  e^2 &= \frac{a^2-b^2}{a^2+s}
\end{align}
Confocal quadrics
\begin{align}
  1 &= \frac{x^2}{a^2+s}+\frac{y^2}{b^2+s}+\frac{z^2}{c^2+s} \\
  \kappa^2 &= \frac{a^2-c^2}{a^2+s}
\end{align}

*

*For $s\to \infty$, $\kappa \to 0$ which close to a sphere.


*For $s\to -c$, $\kappa \to 1$ which shrinks to focal ellipse namely
$$0=z=\frac{x^2}{a^2-c^2}+\frac{y^2}{b^2-c^2}-1$$

*

*This can not analogous to paraboloids.

See also another posts of mine here and here.
</s>