Generalising prior work on the rank of random matrices over finite fields [Coja-Oghlan and Gao 2018], we determine the rank of a random matrix A with prescribed numbers of non-zero entries in each row and column over any field F. The rank formula turns out to be independent of both the field and the distribution of the non-zero matrix entries. The proofs are based on a blend of algebraic and probabilistic methods inspired by ideas from mathematical physics.MSC: 05C80, 60B20, 94B05Amin Coja-Oghlan's research received support under DFG CO 646/3. Alperen A. Ergür partially funded by Einstein Foundation, Berlin.