You asked:

how many kb are there in 1gb

Sorry, I don't yet have an answer to that question.