Ever wondered how computers handle decimal numbers and negative values?... Show more
Understanding Binary Fractions: Two's Complement and Sign-Magnitude




Binary Fractions
Just like denary decimals, binary fractions use positions to the right of a decimal point to represent parts of a whole. Each position represents a fraction with powers of 2 in the denominator.
The pattern is straightforward: after the decimal point, positions represent 1/2, 1/4, 1/8, 1/16, and so on. For example, 0.1 in binary equals 1/2 (0.5 in denary), whilst 0.01 equals 1/4 (0.25 in denary).
Quick Tip: Remember that each position after the decimal point halves in value, just like whole number positions double going left!
Converting becomes easier once you recognise these fraction patterns. The binary 0.101 represents 1/2 + 1/8, which equals 0.5 + 0.125 = 0.625 in denary.

Sign and Magnitude vs Two's Complement
Computers need ways to represent negative numbers, and there are two main methods you'll encounter. Sign and magnitude is the simpler approach - it uses the leftmost bit as a sign indicator.
In sign and magnitude, the most significant bit acts like a positive or negative sign. A 0 means positive, whilst a 1 means negative. So +16 and -16 look identical except for that first bit.
The problem? Arithmetic operations become tricky with this system. That's where two's complement comes in - a more sophisticated method where the leftmost bit represents an actual negative value rather than just a sign.
Key Point: Two's complement makes computer arithmetic much easier because addition and subtraction work the same way for positive and negative numbers!
Two's complement uses the leftmost bit to represent a negative number , making calculations more straightforward for processors.

Converting to Two's Complement
Converting positive numbers to negative using two's complement follows a specific three-step process that's actually quite manageable once you practise it.
Start with your positive binary number written out completely. Then, working from right to left, copy each digit exactly until you reach the first 1 - copy that 1 as well.
From that point onwards, flip every remaining bit. All 0s become 1s, and all 1s become 0s. The result is your negative number in two's complement form.
Memory Trick: Think "copy to the first 1, then flip the rest" - this method works every time and saves you from making mistakes!
This system makes computer arithmetic work seamlessly. Unlike sign and magnitude, you can add and subtract two's complement numbers using the same circuits, which is why virtually all modern computers use this method.
We thought you’d never ask...
What is the Knowunity AI companion?
Our AI Companion is a student-focused AI tool that offers more than just answers. Built on millions of Knowunity resources, it provides relevant information, personalised study plans, quizzes, and content directly in the chat, adapting to your individual learning journey.
Where can I download the Knowunity app?
You can download the app from Google Play Store and Apple App Store.
Is Knowunity really free of charge?
That's right! Enjoy free access to study content, connect with fellow students, and get instant help – all at your fingertips.
Similar content
Most popular content in Computer Science
9GCSE Computer Science Overview
Comprehensive study material for OCR GCSE Computer Science covering key topics such as computer architecture, network security, programming techniques, and ethical considerations. Ideal for exam preparation, this resource includes essential concepts, exam questions, and definitions to enhance understanding and retention.
Computer Science quiz
Purpose, Components and functions of CPU. Also von neuman architecture
GCSE Computer Science Revision
Comprehensive revision notes for OCR GCSE Computer Science Component 1 (J277). Covers key topics including networking, cybersecurity, data compression, computer architecture, and ethical issues. Ideal for exam preparation and understanding core concepts. Access original slides for further details.
GCSE Computer Science // Revision Notes
Concise revision notes for the GCSE OCR computer science specification (J277). Contains all the info needed for paper 1. Paper 2 is in my bio.
GCSE Computer Science Algorithms
Comprehensive overview of algorithms for AQA GCSE Computer Science Paper 1, covering key concepts such as sorting (Bubble Sort, Merge Sort), searching (Linear and Binary Search), and essential programming principles like data types, pseudocode, and flowcharts. Ideal for exam preparation and understanding algorithm efficiency.
computing quiz for
good luck
computer science,geography
this will help you revise for when you are next tested on these questions this will also help you to remember
AQA GCSE Computer Science Overview
Comprehensive revision notes covering the AQA GCSE Computer Science curriculum, including key topics such as computer memory, cybersecurity, programming concepts, network protocols, and data representation. Ideal for exam preparation and understanding core concepts in computing.
GCSE Computer Science Revision Notes
Concise revision notes for the GCSE OCR computer science specification (J277). Contains all the info needed for paper 2. Paper 1 is in my bio.
Most popular content
9Sociology of Education Overview
Explore comprehensive A-Level Sociology notes on the education system, covering key theories, policies, and sociological perspectives. This resource includes insights on marketisation, gender roles, cultural deprivation, and educational inequalities, providing a thorough understanding of how education shapes social stratification and individual achievement. Ideal for exam preparation and in-depth study.
Sociology of Families: Comprehensive Revision
Dive into an extensive overview of family dynamics, perspectives, and patterns in sociology. This resource covers key concepts such as family diversity, gender roles, marriage, and the impact of social policies on family structures. Perfect for A-Level Sociology students preparing for Paper 2.
Criminology: Crime & Punishment Overview
Comprehensive mindmaps covering key concepts in the Crime and Punishment topic for WJEC Criminology Unit 4. This resource includes detailed insights into the Criminal Justice System, crime prevention strategies, sentencing models, and the roles of various agencies. Ideal for A-Level revision, ensuring you grasp essential theories and legislative processes to excel in your exams.
An Inspector Calls: Character Insights
Explore in-depth analysis and key quotes for characters in J.B. Priestley's 'An Inspector Calls'. This resource covers Gerald Croft, Inspector Goole, Sheila Birling, Mrs. Birling, Eric Birling, and Eva Smith, focusing on themes of class, gender roles, and social responsibility. Ideal for students aiming for Grade 8 and above.
WJEC Unit 4 Criminology
Criminology unit 4 detailed revision note
Criminology Theories Overview
Explore key criminology theories and their implications on crime and deviance. This comprehensive summary covers biological, psychological, and sociological perspectives, including labelling theory, right realism, and the impact of social campaigns on policy development. Ideal for A-Level criminology students seeking to understand the complexities of criminal behaviour and the factors influencing crime prevention strategies.
Romeo and Juliet: Key themes
Key Romeo and Juliet themes and analysed quotes
Macbeth: Guilt and Ambition
Explore the complex themes of guilt and ambition in Shakespeare's 'Macbeth'. This analysis covers key characters, including Macbeth and Lady Macbeth, their moral dilemmas, and the tragic consequences of their ambition. Ideal for students studying character motivations, thematic elements, and the psychological impact of power. Includes insights on the natural order, manipulation, and the descent into madness.
Cell Biology and Cell structure
cell structures
Can't find what you're looking for? Explore other subjects.
Students love us — and so will you.
The app is very easy to use and well designed. I have found everything I was looking for so far and have been able to learn a lot from the presentations! I will definitely use the app for a class assignment! And of course it also helps a lot as an inspiration.
This app is really great. There are so many study notes and help [...]. My problem subject is French, for example, and the app has so many options for help. Thanks to this app, I have improved my French. I would recommend it to anyone.
Wow, I am really amazed. I just tried the app because I've seen it advertised many times and was absolutely stunned. This app is THE HELP you want for school and above all, it offers so many things, such as workouts and fact sheets, which have been VERY helpful to me personally.
Understanding Binary Fractions: Two's Complement and Sign-Magnitude
Ever wondered how computers handle decimal numbers and negative values? Binary isn't just about whole numbers - it can represent fractions and negative numbers too, using clever systems that make computer calculations possible.

Sign up to see the content. It's free!
- Access to all documents
- Improve your grades
- Join milions of students
Binary Fractions
Just like denary decimals, binary fractions use positions to the right of a decimal point to represent parts of a whole. Each position represents a fraction with powers of 2 in the denominator.
The pattern is straightforward: after the decimal point, positions represent 1/2, 1/4, 1/8, 1/16, and so on. For example, 0.1 in binary equals 1/2 (0.5 in denary), whilst 0.01 equals 1/4 (0.25 in denary).
Quick Tip: Remember that each position after the decimal point halves in value, just like whole number positions double going left!
Converting becomes easier once you recognise these fraction patterns. The binary 0.101 represents 1/2 + 1/8, which equals 0.5 + 0.125 = 0.625 in denary.

Sign up to see the content. It's free!
- Access to all documents
- Improve your grades
- Join milions of students
Sign and Magnitude vs Two's Complement
Computers need ways to represent negative numbers, and there are two main methods you'll encounter. Sign and magnitude is the simpler approach - it uses the leftmost bit as a sign indicator.
In sign and magnitude, the most significant bit acts like a positive or negative sign. A 0 means positive, whilst a 1 means negative. So +16 and -16 look identical except for that first bit.
The problem? Arithmetic operations become tricky with this system. That's where two's complement comes in - a more sophisticated method where the leftmost bit represents an actual negative value rather than just a sign.
Key Point: Two's complement makes computer arithmetic much easier because addition and subtraction work the same way for positive and negative numbers!
Two's complement uses the leftmost bit to represent a negative number , making calculations more straightforward for processors.

Sign up to see the content. It's free!
- Access to all documents
- Improve your grades
- Join milions of students
Converting to Two's Complement
Converting positive numbers to negative using two's complement follows a specific three-step process that's actually quite manageable once you practise it.
Start with your positive binary number written out completely. Then, working from right to left, copy each digit exactly until you reach the first 1 - copy that 1 as well.
From that point onwards, flip every remaining bit. All 0s become 1s, and all 1s become 0s. The result is your negative number in two's complement form.
Memory Trick: Think "copy to the first 1, then flip the rest" - this method works every time and saves you from making mistakes!
This system makes computer arithmetic work seamlessly. Unlike sign and magnitude, you can add and subtract two's complement numbers using the same circuits, which is why virtually all modern computers use this method.
We thought you’d never ask...
What is the Knowunity AI companion?
Our AI Companion is a student-focused AI tool that offers more than just answers. Built on millions of Knowunity resources, it provides relevant information, personalised study plans, quizzes, and content directly in the chat, adapting to your individual learning journey.
Where can I download the Knowunity app?
You can download the app from Google Play Store and Apple App Store.
Is Knowunity really free of charge?
That's right! Enjoy free access to study content, connect with fellow students, and get instant help – all at your fingertips.
Similar content
Most popular content in Computer Science
9GCSE Computer Science Overview
Comprehensive study material for OCR GCSE Computer Science covering key topics such as computer architecture, network security, programming techniques, and ethical considerations. Ideal for exam preparation, this resource includes essential concepts, exam questions, and definitions to enhance understanding and retention.
Computer Science quiz
Purpose, Components and functions of CPU. Also von neuman architecture
GCSE Computer Science Revision
Comprehensive revision notes for OCR GCSE Computer Science Component 1 (J277). Covers key topics including networking, cybersecurity, data compression, computer architecture, and ethical issues. Ideal for exam preparation and understanding core concepts. Access original slides for further details.
GCSE Computer Science // Revision Notes
Concise revision notes for the GCSE OCR computer science specification (J277). Contains all the info needed for paper 1. Paper 2 is in my bio.
GCSE Computer Science Algorithms
Comprehensive overview of algorithms for AQA GCSE Computer Science Paper 1, covering key concepts such as sorting (Bubble Sort, Merge Sort), searching (Linear and Binary Search), and essential programming principles like data types, pseudocode, and flowcharts. Ideal for exam preparation and understanding algorithm efficiency.
computing quiz for
good luck
computer science,geography
this will help you revise for when you are next tested on these questions this will also help you to remember
AQA GCSE Computer Science Overview
Comprehensive revision notes covering the AQA GCSE Computer Science curriculum, including key topics such as computer memory, cybersecurity, programming concepts, network protocols, and data representation. Ideal for exam preparation and understanding core concepts in computing.
GCSE Computer Science Revision Notes
Concise revision notes for the GCSE OCR computer science specification (J277). Contains all the info needed for paper 2. Paper 1 is in my bio.
Most popular content
9Sociology of Education Overview
Explore comprehensive A-Level Sociology notes on the education system, covering key theories, policies, and sociological perspectives. This resource includes insights on marketisation, gender roles, cultural deprivation, and educational inequalities, providing a thorough understanding of how education shapes social stratification and individual achievement. Ideal for exam preparation and in-depth study.
Sociology of Families: Comprehensive Revision
Dive into an extensive overview of family dynamics, perspectives, and patterns in sociology. This resource covers key concepts such as family diversity, gender roles, marriage, and the impact of social policies on family structures. Perfect for A-Level Sociology students preparing for Paper 2.
Criminology: Crime & Punishment Overview
Comprehensive mindmaps covering key concepts in the Crime and Punishment topic for WJEC Criminology Unit 4. This resource includes detailed insights into the Criminal Justice System, crime prevention strategies, sentencing models, and the roles of various agencies. Ideal for A-Level revision, ensuring you grasp essential theories and legislative processes to excel in your exams.
An Inspector Calls: Character Insights
Explore in-depth analysis and key quotes for characters in J.B. Priestley's 'An Inspector Calls'. This resource covers Gerald Croft, Inspector Goole, Sheila Birling, Mrs. Birling, Eric Birling, and Eva Smith, focusing on themes of class, gender roles, and social responsibility. Ideal for students aiming for Grade 8 and above.
WJEC Unit 4 Criminology
Criminology unit 4 detailed revision note
Criminology Theories Overview
Explore key criminology theories and their implications on crime and deviance. This comprehensive summary covers biological, psychological, and sociological perspectives, including labelling theory, right realism, and the impact of social campaigns on policy development. Ideal for A-Level criminology students seeking to understand the complexities of criminal behaviour and the factors influencing crime prevention strategies.
Romeo and Juliet: Key themes
Key Romeo and Juliet themes and analysed quotes
Macbeth: Guilt and Ambition
Explore the complex themes of guilt and ambition in Shakespeare's 'Macbeth'. This analysis covers key characters, including Macbeth and Lady Macbeth, their moral dilemmas, and the tragic consequences of their ambition. Ideal for students studying character motivations, thematic elements, and the psychological impact of power. Includes insights on the natural order, manipulation, and the descent into madness.
Cell Biology and Cell structure
cell structures
Can't find what you're looking for? Explore other subjects.
Students love us — and so will you.
The app is very easy to use and well designed. I have found everything I was looking for so far and have been able to learn a lot from the presentations! I will definitely use the app for a class assignment! And of course it also helps a lot as an inspiration.
This app is really great. There are so many study notes and help [...]. My problem subject is French, for example, and the app has so many options for help. Thanks to this app, I have improved my French. I would recommend it to anyone.
Wow, I am really amazed. I just tried the app because I've seen it advertised many times and was absolutely stunned. This app is THE HELP you want for school and above all, it offers so many things, such as workouts and fact sheets, which have been VERY helpful to me personally.