Use a one-way or a multi-way ANOVA to compute the power of statistical tests like chi-square-tests, t-test, F-tests, Z-tests, etc. The tool takes into account several variables including the number of groups, significance level, effect size, etc.
G*Power is a tool to compute statistical power analyses for many different t tests, F tests, χ2 tests, z tests and some exact tests. G*Power can also be used to compute effect sizes and to display graphically the results of power analyses. The software also allows you to generate graphs based on the data you input.