How HOMA index is calculated? Thanks very much

How HOMA index is calculated? Thanks very much