While coconut flour is a great substitute for wheat flours, it can't be substituted 1-to-1. As a general rule of thumb, you can substitute 1/4 to 1/3 cup of coconut flour for every cup of wheat flour, but it's best to follow tested recipes, especially if you have not worked with coconut flour before.