You can use equilab for this among other various free softwares. In a HU scenario you also could do it by hand if you know your equity vs. each combo of his range.
QQ vs AKs, AKo, KK, AA
AKs = 4 combos, QQ vs AKs ~53.95% equity
AKo = 12 combos, QQ vs AKo ~56.76% equity
KK = 6 combos, QQ vs KK ~18.06% equity
AA = 6 combos, QQ vs AA ~18.46% equity
QQ vs (AKs, AKo, KK, AA) = (4/28)*53.95 + (12/28)*(56.76) + (6/28)*18.06 + (6/28)*18.46 = 39.86%
https://www.pokerstrategy.com/poker-...quilab-holdem/