A: Oh, dear. I’ve just missed the bus, and the next one doesn’t come for an hour. B: Well, I’m going that way myself. If you want, I (will) (can) give you a ride home.
The words in brackets are both words you can use in this context.
Will is more so like your demanding and its something that will happen
Can is like giving a person an option and allowing them to consider it