The EOS Crowdsale contract has an iterative function. That means part of the code can be called many many times, and the exact amount depends from person to person. Unfortunately, there is no good way to estimate how much gas a variable execution function will consume unless you execute it virtually off-chain to see.
You lost ~$0.26, so not big loss. Try again with 500k maybe.
RE: Ethereum "Gas" - How it Works