Abstract We present an effective algorithm for computing the standard cohomology spaces of finitely generated Lie (super) algebras over a field K of characteristic zero. In order to reach explicit representatives of some generators of the quotient space Z k Bk of cocycles Z k modulo coboundaries Bk, we apply Gr¨obner bases techniques (in the appropriate linear setting) and take advantage of …