Then a maths forum is best for you
For any matrix of nontrivial size, you're not going to find an explicit formula for the inverse. (Okay, you can with cofactor expansions, etc., but not terribly practical.)
For exact inverses, you'll want to look for "Gaussian elimination with partial pivoting". (There's also Gaussian elimination with full pivoting, but I've rarely found that necessary.)
However, I have to ask--do you actually need the full inverse of the matrix, or are you just trying to solve Ax = b? I ask because it is computationally more efficient to just calculate x without finding the full inverse of A, even if you're solving the system repeatedly. Some people ask for the full inverse of the matrix, when in reality they only want to solve a particular linear system.
Do you plan on mostly doing small matrices, on the order of 6 x 6 to maybe 20 x 20? Or do you eventually plan larger systems? And again, do you plan upon solving for the actual inverse, or do you only need to solve linear systems? In that case, iterative techniques are your friend. (Such as biconjugate gradient, successive over-relaxation, Gauss-Seidel, Jacobi, etc.) -- Paul