こちらが参考になると思います。
https://bdastyle.net/tools/confidence-interval/page2.html
なお二重投稿になっているのでもう一方は削除しましょう。