By Which vs In Which: What’s the Difference and When Should You Use Each?

English prepositions can create surprisingly confusing choices, especially when two phrases look almost identical. “By which” and “in which” are both grammatically correct, but they do not usually mean the same thing. Choosing the right one depends on the relationship between the words in your sentence and what you are trying to express.

The phrase “by which” generally refers to a method, means, process, or agent—the way something happens or the means through which an action is performed. “In which,” on the other hand, commonly refers to a place, situation, condition, period, or context where something happens. Understanding this basic distinction makes these phrases much easier to use correctly. In this guide, we will compare by which vs in which, explain their meanings, show you when to use each one, and provide practical examples you can use in everyday and formal English.

Quick Answer

“By which” usually means through which, by means of which, or because of which. “In which” usually means where, within which, or during which. Use by which for a method or means, and in which for a place, situation, condition, or period.

Why People Confuse It

The confusion comes mainly from the fact that both phrases contain “which” and are often used to introduce relative clauses.

For example:

  • This is the method by which we solved the problem.
  • This is the situation in which we found ourselves.

Both sentences contain a noun followed by which, but the preposition changes the relationship.

Think about the question you are answering:

  • How? By what means?by which
  • Where? In what situation? During what period?in which

Another reason for confusion is that everyday English often uses simpler alternatives.

For instance:

The way by which the machine operates…

can often become:

The way the machine operates…

Similarly:

The room in which she works…

can become:

The room where she works…

The longer forms are especially common in formal, academic, legal, and professional writing.

By Which

“By which” is generally used when you want to describe the method, means, process, or agent through which something happens.

It can often be understood as:

  • by means of which
  • through which
  • using which
  • because of which, depending on context

Examples

  1. This is the method by which the company calculates its profits.
  2. She explained the process by which the data was collected.
  3. The system by which payments are processed is highly secure.
  4. We need to understand the mechanism by which the machine works.
  5. This is the procedure by which applicants are selected.
  6. He described the way by which the information was obtained.

In these examples, by which focuses on how something is done or achieved.

A useful test

If you can replace “by which” with “by means of which” or “through which,” then by which is probably appropriate.

For example:

This is the method by which we solved the issue.

You can understand it as:

This is the method by means of which we solved the issue.

In Which

“In which” is generally used to identify a place, situation, condition, circumstance, environment, or period of time.

It can often be replaced by:

  • where
  • within which
  • during which
  • in that situation

Examples

  1. This is the room in which the meeting took place.
  2. She described the situation in which she found herself.
  3. That was a period in which many changes occurred.
  4. We entered a building in which several businesses operated.
  5. He created an environment in which everyone could succeed.
  6. The circumstances in which the decision was made were unusual.

Here, in which tells us about the context or setting.

A useful test

Ask yourself:

Where? In what situation? During what period?

If the answer relates to a location, situation, condition, or period, in which is usually the better choice.

For example:

This is the house in which I grew up.

You can simplify this to:

This is the house where I grew up.

Comparison Table

FeatureBy WhichIn Which
Basic meaningBy means of which / through whichWhere / within which / during which
Main ideaMethod or meansPlace, situation, or period
AnswersHow? By what means?Where? In what situation? When?
Common noun typesMethod, process, system, mechanismPlace, situation, environment, period
ExampleThe method by which it worksThe room in which it works
FormalityFormalFormal
Common alternativeThrough whichWhere / during which

When to Use Each

Use “By Which” for Methods and Processes

Choose by which when the noun describes a method, procedure, system, mechanism, or process.

Example:

We studied the process by which plants convert sunlight into energy.

The phrase explains how the process happens.

Use “In Which” for Places

Use in which when referring to a physical or figurative location.

Example:

The office in which she works is downtown.

Here, in which refers to the place where she works.

Use “In Which” for Situations

It can also describe circumstances or situations.

Example:

They were placed in a difficult situation in which they had to make a quick decision.

Use “By Which” for Means

When something happens through a particular means, by which is appropriate.

Example:

This is the system by which the company manages customer accounts.

The system is the means through which the action occurs.

Use “In Which” for Time Periods

In which can refer to a particular period when something happened.

Example:

2025 was a year in which the company experienced significant growth.

In this sentence, in which has a time-related meaning similar to during which.

Examples of By Which vs In Which

Here are more examples to make the difference clear.

  1. The method by which the software detects errors is impressive.
  2. The laboratory in which the experiment was conducted was carefully controlled.
  3. We examined the process by which the products are manufactured.
  4. The situation in which they found themselves was unexpected.
  5. This is the system by which employees submit their expenses.
  6. That is the building in which the company was founded.
  7. Scientists are studying the mechanism by which the disease spreads.
  8. The environment in which children grow can influence their development.
  9. She explained the procedure by which the documents are verified.
  10. It was a period in which people faced considerable uncertainty.
  11. The technique by which the results were obtained is widely accepted.
  12. The circumstances in which the agreement was signed remain unclear.

Notice the pattern: by which usually describes the means or method, while in which establishes a setting, circumstance, or period.

Common Mistakes

1. Using “in which” for a method

Incorrect:

This is the method in which we solved the problem.

Better:

This is the method by which we solved the problem.

The method explains how the problem was solved.

2. Using “by which” for a location

Incorrect:

This is the room by which we held the meeting.

Better:

This is the room in which we held the meeting.

The room is the location, so in which is needed.

3. Thinking “which” determines the preposition

The word which does not determine whether you need by or in.

The preposition depends on the relationship between the noun and the rest of the sentence.

Compare:

  • the method by which we work
  • the room in which we work

The verb work is the same, but the noun changes the required relationship.

4. Overusing formal constructions

Although by which and in which are grammatically correct, they can sometimes sound unnecessarily formal.

Instead of:

The place in which I live…

you can usually say:

The place where I live…

Instead of:

The method by which she solved it…

you might say:

The way she solved it…

Use the more formal construction when it improves clarity or suits the writing style.

Memory Trick

A simple way to remember the difference is:

BY = means
IN = inside/context

Think:

By which = How?

In which = Where? / In what situation?

For example:

  • The method by whichHow?
  • The room in whichWhere?
  • The process by whichHow?
  • The situation in whichIn what situation?

If you remember “BY = HOW” and “IN = WHERE/CONTEXT,” you can usually choose the correct phrase quickly.

American vs British English

There is no major difference between American and British English regarding the basic meanings of by which and in which.

Both varieties use these constructions in formal writing.

However, everyday speech in both American and British English often prefers simpler alternatives.

For example:

The house in which I grew up.

may become:

The house where I grew up.

Likewise:

The method by which the company operates.

may become:

The way the company operates.

The formal versions remain useful in academic papers, legal writing, technical documentation, reports, and other contexts where precise relationships matter.

Similar Words

Understanding related expressions can make these phrases easier to recognize.

Through Which

Through which is often close in meaning to by which, particularly when something happens through a method, channel, or process.

The system through which information is transmitted is secure.

Where

Where can often replace in which when referring to a place.

This is the house where I grew up.

This is the house in which I grew up.

Both are grammatical.

During Which

When in which refers to a period of time, during which may make the time relationship clearer.

It was a year during which many changes occurred.

By Means of Which

This is a more explicit and formal version of by which.

The tool by means of which the measurements were taken…

It emphasizes the idea of a method or instrument.

Within Which

Within which emphasizes something occurring inside a particular boundary, period, or system.

The period within which applications must be submitted is short.

FAQs

Is “by which” grammatically correct?

Yes. By which is grammatically correct and is commonly used in formal English to describe a method, means, process, or mechanism.

Is “in which” grammatically correct?

Yes. In which is also grammatically correct. It commonly refers to a place, situation, condition, environment, or period of time.

What is the difference between “by which” and “in which”?

By which generally expresses how something happens or the means used, while in which generally expresses where, when, or in what situation something happens.

Can “in which” mean “where”?

Yes. When referring to a place, in which can often be replaced by where.

The house in which I live.

The house where I live.

Can “by which” mean “through which”?

Yes. In many contexts, by which and through which have very similar meanings, especially when discussing a process or means.

Is “by which” formal English?

Yes. It is more common in formal, academic, technical, and professional writing than in casual conversation.

Which is correct: “the method by which” or “the method in which”?

Usually, “the method by which” is correct because a method describes the way or means something is done.

Final Verdict

The difference between by which vs in which becomes much easier once you focus on the relationship being expressed.

Use by which when you mean “by what means,” “through what method,” or “how.” It commonly follows words such as method, process, system, procedure, and mechanism.

Use in which when you mean “where,” “within which,” “during which,” or “in what situation.” It commonly follows words such as place, room, situation, environment, circumstances, and period.

When in doubt, ask a simple question: Am I explaining how something happens, or am I describing where, when, or in what situation it happens? That question will usually point you toward the correct preposition.

Remember This

BY WHICH = the means or method → HOW?

IN WHICH = the place, situation, or period → WHERE? / WHEN?

  • The process by which it works.
  • The place in which it works.
  • The method by which we solved it.
  • The situation in which we solved it.

If you remember “BY = HOW” and “IN = WHERE/CONTEXT,” you will have a reliable shortcut for choosing between these two phrases.

Conclusion

Although “by which” and “in which” can look interchangeable at first glance, they perform different grammatical jobs. By which focuses on the means, method, or process through which something happens, while in which establishes a location, situation, environment, or period in which something occurs.

The good news is that you do not need to memorize dozens of complicated grammar rules. Simply identify the relationship you want to express. If you are answering “How?”, choose by which. If you are answering “Where?”, “When?”, or “In what situation?”, in which is usually the right choice. With these two questions in mind, using by which vs in which becomes much more natural and accurate.

Aria White

I’m Aria White, a passionate word enthusiast who enjoys exploring grammar, vocabulary, and meaningful word connections. I create simple, helpful content that makes matching words easier, clearer, and enjoyable.

Leave a Comment