Position size calculation for indices?

I know it should be more simple, that the calculation for forex instruments, but I just can’t seems to figure it out, the numbers never get together. Could somebody please explain it easily please? One short example if the instrument and the account both are in dollar, and one, when the index have a different currency, like DAX.
This would help me a lot, thanks in advance.